Overriding checkstyle-plugin config in jclouds-resources

Otherwise, fails with a self-dependency
This commit is contained in:
Andrew Phillips 2014-10-05 15:02:22 -05:00
parent f925796905
commit 67a0498b7e
2 changed files with 12 additions and 2 deletions

View File

@ -1112,8 +1112,6 @@
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<failOnViolation>true</failOnViolation>
<failsOnError>true</failsOnError>
<!-- fails on itself as it uses the author tag in a module definition -->
<resourceExcludes>checkstyle.xml</resourceExcludes>
<violationSeverity>warning</violationSeverity>
</configuration>
</plugin>

View File

@ -42,6 +42,18 @@
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<failOnViolation>true</failOnViolation>
<failsOnError>true</failsOnError>
<!-- fails on itself as it uses the author tag in a module definition -->
<resourceExcludes>checkstyle.xml</resourceExcludes>
<violationSeverity>warning</violationSeverity>
</configuration>
</plugin>
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>