mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-22 18:28:46 +00:00
Add checkstyle suppression filter, do not create aggregate results.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436863 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1a5a24da2d
commit
8550de1c17
9
checkstyle-suppressions.xml
Normal file
9
checkstyle-suppressions.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.0//EN" "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
|
||||
|
||||
<suppressions>
|
||||
<!-- Suppress switch fallthrough / default case for class Flat3Map -->
|
||||
<suppress checks="FallThrough" files="Flat3Map.java" />
|
||||
<suppress checks="MissingSwitchDefault" files="Flat3Map.java" />
|
||||
|
||||
</suppressions>
|
8
pom.xml
8
pom.xml
@ -496,7 +496,15 @@
|
||||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>checkstyle</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
|
Loading…
x
Reference in New Issue
Block a user