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/92a6edf8
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/92a6edf8
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/92a6edf8

Branch: refs/heads/reactivate-checkstyle
Commit: 92a6edf841d676c1e216b7bd17962fe53e1498af
Parents: a4ea64a
Author: Andrew Phillips <[email protected]>
Authored: Sun Oct 5 15:02:22 2014 -0500
Committer: Andrew Phillips <[email protected]>
Committed: Mon Oct 6 09:51:50 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/92a6edf8/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/92a6edf8/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>

Reply via email to