[java-parent-projects COMMIT] /java-parent-project-v3/trunk/pom.xml

noreply at shibboleth.net noreply at shibboleth.net
Wed Jul 24 12:51:32 EDT 2013


Author: iay
Date: Wed Jul 24 12:51:32 2013
New Revision: 152

URL: http://svn.shibboleth.net/view/java-parent-projects?rev=152&view=rev
Log:
JPAR-7 support generation of checkstyle report

Modified:
    java-parent-project-v3/trunk/pom.xml

Modified: java-parent-project-v3/trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/pom.xml?rev=152&r1=151&r2=152&view=diff
==============================================================================
--- java-parent-project-v3/trunk/pom.xml (original)
+++ java-parent-project-v3/trunk/pom.xml Wed Jul 24 12:51:32 2013
@@ -38,6 +38,11 @@
         <xerces.version>2.11.0</xerces.version>
         <xmlresolver.groupId>xml-resolver</xmlresolver.groupId>
         <xmlresolver.version>1.2</xmlresolver.version>
+        
+        <checkstyle.version>2.10</checkstyle.version>
+        <checkstyle.configLocation>
+            https://svn.shibboleth.net/java-parent-projects/java-parent-project-v3/trunk/resources/checkstyle/checkstyle.xml
+        </checkstyle.configLocation>
     </properties>
 
     <repositories>
@@ -376,7 +381,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-checkstyle-plugin</artifactId>
-                    <version>2.9.1</version>
+                    <version>${checkstyle.version}</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
@@ -440,10 +445,31 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <!--
+                Checkstyle configuration for checkstyle:* goals called directly
+                from the command line.
+            -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>${checkstyle.configLocation}</configLocation>
+                </configuration>
+            </plugin>
+        </plugins>
     </build>
 
     <reporting>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <version>${checkstyle.version}</version>
+                <configuration>
+                    <configLocation>${checkstyle.configLocation}</configLocation>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>cobertura-maven-plugin</artifactId>



More information about the commits mailing list