Overriding checkstyle-plugin config in jclouds-resources Otherwise, fails with a self-dependency
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/af7055aa Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/af7055aa Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/af7055aa Branch: refs/heads/reactivate-checkstyle Commit: af7055aa31a165bc494b2030a0234bb524d52677 Parents: aecb89e Author: Andrew Phillips <[email protected]> Authored: Sun Oct 5 15:02:22 2014 -0500 Committer: Andrew Phillips <[email protected]> Committed: Mon Oct 6 16:23:18 2014 -0400 ---------------------------------------------------------------------- project/pom.xml | 2 -- resources/pom.xml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/af7055aa/project/pom.xml ---------------------------------------------------------------------- diff --git a/project/pom.xml b/project/pom.xml index 52cbfed..c5e6693 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -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> http://git-wip-us.apache.org/repos/asf/jclouds/blob/af7055aa/resources/pom.xml ---------------------------------------------------------------------- diff --git a/resources/pom.xml b/resources/pom.xml index 6282650..a133e0c 100644 --- a/resources/pom.xml +++ b/resources/pom.xml @@ -43,6 +43,18 @@ </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> <configuration>
