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/67a0498b Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/67a0498b Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/67a0498b Branch: refs/heads/master Commit: 67a0498b7ecf3df898982578fa1995d70f3546d1 Parents: f925796 Author: Andrew Phillips <[email protected]> Authored: Sun Oct 5 15:02:22 2014 -0500 Committer: Andrew Phillips <[email protected]> Committed: Mon Oct 6 18:14:15 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/67a0498b/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/67a0498b/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>
