首页 > 解决方案 > 为什么在 Maven 项目中强制执行 apache-rat-plugin?

问题描述

我有 pom.xml https://pastebin.com/VDpgJ11K

<!--      <plugin>-->
<!--        <groupId>org.apache.rat</groupId>-->
<!--        <artifactId>apache-rat-plugin</artifactId>-->
<!--        <configuration>-->
<!--          <excludes>-->
<!--            <exclude>src/test/resources/bla.tar.xz</exclude>-->
<!--            <exclude>src/test/resources/empty.bin</exclude>-->
<!--            <exclude>src/test/resources/small.bin</exclude>-->
<!--            <exclude>m2</exclude>-->
<!--          </excludes>-->
<!--        </configuration>-->
<!--      </plugin>-->

带有注释的 apache-rat-plugin (项目: git clone —depth 1 —branch commons-codec-1.14 https://github.com/apache/commons-codec.git)但是在执行“mvn install”时,rat-plugin 仍然以某种方式运行“,你能告诉我为什么吗?谢谢!

标签: maven

解决方案


推荐阅读