我跑了一个 mvn clean install
在我从事的一个大型 Java 项目中,但由于某些文件没有正确的许可 header ,它一直失败。好吧,这不是我现在关心的问题,我如何跳过它?我看到的实际错误是,
Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.14:add-third-party (default) on project test-project: There are some dependencies with no license, please fill the file /Users/test-project/src/license/THIRD-PARTY.properties
我也试过这个 maven 命令,但是没有用
mvn clean install -Dlicense.skip=true
最佳答案
尝试使用 -Dlicense.skipAddThirdParty=true
跳过 AddThirdParty mojo .
关于maven - 运行 maven 安装时如何跳过许可证检查?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49281794/