You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/04/08 00:06:02 UTC
svn commit: r1465481 - /commons/proper/codec/trunk/pom.xml
Author: ggregory
Date: Sun Apr 7 22:06:02 2013
New Revision: 1465481
URL: http://svn.apache.org/r1465481
Log:
Document Checkstyle usage in POM and remove dup report.
Modified:
commons/proper/codec/trunk/pom.xml
Modified: commons/proper/codec/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/pom.xml?rev=1465481&r1=1465480&r2=1465481&view=diff
==============================================================================
--- commons/proper/codec/trunk/pom.xml (original)
+++ commons/proper/codec/trunk/pom.xml Sun Apr 7 22:06:02 2013
@@ -281,12 +281,23 @@ limitations under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target'
+ dir and wants license headers in .properties to be the header for
+ Java files. -->
<version>2.9.1</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerFile>${basedir}/LICENSE-header.txt</headerFile>
</configuration>
+ <!-- We need to specify reportSets because 2.9.1 creates two reports -->
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>checkstyle</report>
+ </reports>
+ </reportSet>
+ </reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>