【问题标题】:kie-maven-plugin:7.36.1.Final Plugin extension dependency error using Mavenkie-maven-plugin:7.36.1.Final 使用 Maven 的插件扩展依赖错误
【发布时间】:2020-08-19 23:41:27
【问题描述】:

将 Drools 从 6.5.0.Final 迁移到 Drools 7.36.1.Final ,我在解决 org.kie:kie-maven-plugin:7.36.0.Final 依赖问题时遇到问题,如下所示

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.36.0.Final or one of its dependencies could not be resolved: The following artifacts could not be resolved: xmlpull:xmlpull:jar:1.2.0, xpp3:xpp3_min:jar:1.2.0: Could not find artifact xmlpull:xmlpull:jar:1.2.0

POM 条目

  <plugin>
    <groupId>org.kie</groupId>
    <artifactId>kie-maven-plugin</artifactId>
    <version>7.36.1.Final</version>
     <extensions>true</extensions>         
 </plugin>

【问题讨论】:

    标签: drools maven-plugin kie maven-extension


    【解决方案1】:

    您好,对于高于 7.31 的版本也存在同样的问题。 由于他们更改了 kie-parent.pom 中的依赖项 来自

    <version.xmlpull>1.1.3.1</version.xmlpull>
    <version.xmlunit>1.3</version.xmlunit>
    <version.xpp3>1.1.4c</version.xpp3>
    

    <version.xmlpull>1.2.0</version.xmlpull>
    <version.xmlunit>1.3</version.xmlunit>
    <version.xpp3>${version.xmlpull}</version.xpp3>
    

    我尝试了很多技巧,但仍然无法解决问题。 1.2.0是ea版本,位于https://repository.jboss.org/nexus/content/repositories/ea/

    【讨论】:

      【解决方案2】:

      可以在以下位置找到:https://mvnrepository.com/artifact/xmlpull/xmlpull/1.2.0。我不知道为什么它没有在这里列出:https://mvnrepository.com/artifact/xmlpull/xmlpull 所以 maven 可以解决它。

      您可以下载它并将其放入您的本地 m2 存储库或您公司的 maven 存储库,如 nexus 或 artifactory。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2018-12-25
        • 1970-01-01
        • 1970-01-01
        • 2019-05-18
        • 2012-09-22
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多