【发布时间】:2015-10-23 11:22:10
【问题描述】:
我检查了 Apache Archiva Redback,当我执行 mvn install 时编译失败,因为 Apache RAT 失败并且我还没有更改任何内容。
【问题讨论】:
-
你应该解决问题而不是跳过它......
-
@khmarbaise 请随意,但我没有时间。
我检查了 Apache Archiva Redback,当我执行 mvn install 时编译失败,因为 Apache RAT 失败并且我还没有更改任何内容。
【问题讨论】:
您可以通过在 maven 命令行中添加 -Drat.skip=true 来禁用 RAT。
【讨论】:
你可以在你的 pom 文件中配置它。
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
【讨论】: