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.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1465773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75b9a4ba4e
commit
e9e52dfaca
13
pom.xml
13
pom.xml
|
@ -150,12 +150,23 @@ CSV files of various types.
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>2.10</version>
|
<!-- 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>
|
<configuration>
|
||||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||||
<enableRulesSummary>false</enableRulesSummary>
|
<enableRulesSummary>false</enableRulesSummary>
|
||||||
<headerFile>${basedir}/LICENSE-header.txt</headerFile>
|
<headerFile>${basedir}/LICENSE-header.txt</headerFile>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<reports>
|
||||||
|
<report>checkstyle</report>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
|
Loading…
Reference in New Issue