[java-parent-projects COMMIT] /java-parent-project-v2/trunk/pom.xml
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jul 31 10:03:53 EDT 2013
Author: iay
Date: Wed Jul 31 10:03:52 2013
New Revision: 153
URL: http://svn.shibboleth.net/view/java-parent-projects?rev=153&view=rev
Log:
JPAR-7 support generation of Checkstyle report
Modified:
java-parent-project-v2/trunk/pom.xml
Modified: java-parent-project-v2/trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v2/trunk/pom.xml?rev=153&r1=152&r2=153&view=diff
==============================================================================
--- java-parent-project-v2/trunk/pom.xml (original)
+++ java-parent-project-v2/trunk/pom.xml Wed Jul 31 10:03:52 2013
@@ -32,6 +32,11 @@
<xerces.version>2.10.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-v2/trunk/resources/checkstyle/checkstyle.xml
+ </checkstyle.configLocation>
</properties>
<repositories>
@@ -365,7 +370,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>
@@ -429,10 +434,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