【发布时间】:2019-01-08 13:07:51
【问题描述】:
我检查了Ballerina 并使用mvn clean install 构建。我收到以下错误。
[错误] 无法在项目 toml-parser 上执行目标 com.github.spotbugs:spotbugs-maven->plugin:3.1.1:spotbugs (spotbugs):执行目标 com.github.spotbugs:spotbugs- maven-plugin:3.1.1:spotbugs failed: Java >returned: 1 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: 无法在项目 toml-parser 上执行 >?goal com.github.spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs (spotbugs):执行目标 com.github 的 spotbugs。 spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs 失败:Java 返回:1
构建环境:
- macOS High Sierra(版本 10.13.6)
- Java 11.0.1 2018-10-16 LTS
- Java(TM) SE 运行时环境 18.9(内部版本 11.0.1+13-LTS)
- Apache Maven 3.6.0
发生了什么事?我该如何解决这个问题?
【问题讨论】:
-
如果您签出其他发布标签之一,它会构建吗?
-
如果您使用调试
-X运行构建,实际错误是什么,应该有更多信息为什么spotbugs-maven-plugin失败。 -
@Kerry: 不。它失败并出现同样的错误。
-
@KarolDowbecki:这是我使用
-X运行时得到的结果。 pastebin.com/9ZazMawu -
您将不得不提供构建环境的一些详细信息,例如操作系统、java版本、maven版本等