apache插件允许许可头同时出现在我的类文件顶部的普通注释和java文档注释中。我怎么能只允许许可头出现在正常注释中,而不是在java文档注释中?
我的插件配置如下;
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<executions>
<execution>
<id>rat-checks</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<excludeSubprojects>false</excludeSubprojects>
<excludes>
<!-- my excludes here -->
</excludes>
</configuration>
</plugin>发布于 2018-04-10 23:13:06
这似乎无法用apache插件进行配置。我将不得不使用许可-maven-插件代替。
https://stackoverflow.com/questions/49762842
复制相似问题