我在我从事的一个大型 Java 项目上运行了mvn clean install
一个,但由于某些文件没有正确的许可证头,它一直失败。好吧,这不是我现在关心的问题,我该如何跳过它?我看到的实际错误是,
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