Maven Checkstyle插件排除不起作用

时间:2019-05-03 08:07:50

标签: java maven-3 maven-checkstyle-plugin

我正在设置maven-checkstyle-plugin 2.15,但是在构建过程中会忽略排除项。 2.12版本忽略了排除项。你能帮我吗?

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-checkstyle-plugin</artifactId>
 <version>2.15</version>
 <configuration>
 <excludes>**/target/**</excludes>
 <excludes>**/generated/**/*</excludes>
 <excludes>**/generated-sources/**/*</excludes>
 <excludes>**/vodafone-sdk/**/*</excludes>
 <!-- file located in myapplication-parent project -->
 <configLocation>`resources/checks.xml</configLocation>
 </configuration>
</plugin>

0 个答案:

没有答案