Put all checkstyle files together
This commit is contained in:
parent
52a154b1bc
commit
4ec18bdd3f
12
pom.xml
12
pom.xml
|
@ -156,7 +156,9 @@
|
|||
<commons.encoding>UTF-8</commons.encoding>
|
||||
|
||||
<checkstyle.version>3.1.2</checkstyle.version>
|
||||
<checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
|
||||
<checkstyle.header.file>${basedir}/src/site/resources/checkstyle/checkstyle-header.txt</checkstyle.header.file>
|
||||
<checkstyle.config.file>${basedir}/src/site/resources/checkstyle/checkstyle.xml</checkstyle.config.file>
|
||||
<checkstyle.suppress.file>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</checkstyle.suppress.file>
|
||||
<checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes>
|
||||
|
||||
<commons.pmd.version>3.14.0</commons.pmd.version>
|
||||
|
@ -203,9 +205,9 @@
|
|||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<configLocation>${checkstyle.config.file}</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<suppressionsLocation>${checkstyle.suppress.file}</suppressionsLocation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -274,9 +276,9 @@
|
|||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<configLocation>${checkstyle.config.file}</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<suppressionsLocation>${checkstyle.suppress.file}</suppressionsLocation>
|
||||
</configuration>
|
||||
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
|
||||
<reportSets>
|
||||
|
|
Loading…
Reference in New Issue