Skip to content

Commit e9e52df

Browse files
committed
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
1 parent 75b9a4b commit e9e52df

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,23 @@ CSV files of various types.
150150
<plugin>
151151
<groupId>org.apache.maven.plugins</groupId>
152152
<artifactId>maven-checkstyle-plugin</artifactId>
153-
<version>2.10</version>
153+
<!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target'
154+
dir and wants license headers in .properties to be the header for
155+
Java files. -->
156+
<version>2.9.1</version>
154157
<configuration>
155158
<configLocation>${basedir}/checkstyle.xml</configLocation>
156159
<enableRulesSummary>false</enableRulesSummary>
157160
<headerFile>${basedir}/LICENSE-header.txt</headerFile>
158161
</configuration>
162+
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
163+
<reportSets>
164+
<reportSet>
165+
<reports>
166+
<report>checkstyle</report>
167+
</reports>
168+
</reportSet>
169+
</reportSets>
159170
</plugin>
160171
<plugin>
161172
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)