我正在开发 Java 程序,构建工作正常(本地和 jenkins),但是当 Sonar 执行构建时,出现以下错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy-dependencies
(copy-dependencies) on project test-service-deploy: Artifact has not been
packaged yet. When used on reactor artifact, copy should be executed after
packaging: see MDEP-187. -> [Help 1]
似乎它试图从工作区路径获取依赖项,但没有找到任何东西。
有什么办法可以解决这个问题吗?
慕哥9229398
相关分类