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> <includeTestSourceDirectory>true</includeTestSourceDirectory>
<failOnViolation>true</failOnViolation> <failOnViolation>true</failOnViolation>
<failsOnError>true</failsOnError> <failsOnError>true</failsOnError>
<!-- fails on itself as it uses the author tag in a module definition -->
<resourceExcludes>checkstyle.xml</resourceExcludes>
<violationSeverity>warning</violationSeverity> <violationSeverity>warning</violationSeverity>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -42,6 +42,18 @@
</resource> </resource>
</resources> </resources>
<plugins> <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> <plugin>
<groupId>org.gaul</groupId> <groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId> <artifactId>modernizer-maven-plugin</artifactId>