Skip to content

Commit 4276e7b

Browse files
committed
Document Checkstyle usage in POM and remove dup report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1465481 13f79535-47bb-0310-9956-ffa450edef68
1 parent 362f302 commit 4276e7b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,23 @@ limitations under the License.
281281
<plugin>
282282
<groupId>org.apache.maven.plugins</groupId>
283283
<artifactId>maven-checkstyle-plugin</artifactId>
284+
<!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target'
285+
dir and wants license headers in .properties to be the header for
286+
Java files. -->
284287
<version>2.9.1</version>
285288
<configuration>
286289
<configLocation>${basedir}/checkstyle.xml</configLocation>
287290
<enableRulesSummary>false</enableRulesSummary>
288291
<headerFile>${basedir}/LICENSE-header.txt</headerFile>
289292
</configuration>
293+
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
294+
<reportSets>
295+
<reportSet>
296+
<reports>
297+
<report>checkstyle</report>
298+
</reports>
299+
</reportSet>
300+
</reportSets>
290301
</plugin>
291302
<plugin>
292303
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)