【问题标题】:Error when trying to build nifi-maven project尝试构建 nifi-maven 项目时出错
【发布时间】:2021-10-09 00:45:43
【问题描述】:

在 Mac 上运行,我正在尝试将一个简单的 nar 添加到 nifi 安装中。 按照here 上的说明,我使用 mvn generate 启动 nifi 处理器项目。然后我立即运行 mvn clean install 而不做任何更改来创建 nar 包,但我一直遇到这个错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (groovy-tests) on project test.test: Execution groovy-tests of goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1 -> org.codehaus.groovy:groovy-eclipse-batch:jar:2.5.4-01: Failed to read artifact descriptor for org.codehaus.groovy:groovy-eclipse-batch:jar:2.5.4-01: Could not transfer artifact org.codehaus.groovy:groovy-eclipse-batch:pom:2.5.4-01 from/to bintray (https://dl.bintray.com/groovy/maven): authorization failed for https://dl.bintray.com/groovy/maven/org/codehaus/groovy/groovy-eclipse-batch/2.5.4-01/groovy-eclipse-batch-2.5.4-01.pom, status: 403 Forbidden -> [Help 1]

【问题讨论】:

标签: java maven apache-nifi


【解决方案1】:

尝试将 groovy 版本升级到 2.5.6,如下所示 2.5.6 in pom.xml

【讨论】:

    猜你喜欢
    • 2019-11-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多