Put all checkstyle files together
diff --git a/pom.xml b/pom.xml
index 56ea699..063da0e 100644
--- a/pom.xml
+++ b/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>
diff --git a/LICENSE-header.txt b/src/site/resources/checkstyle/checkstyle-header.txt
similarity index 100%
rename from LICENSE-header.txt
rename to src/site/resources/checkstyle/checkstyle-header.txt
diff --git a/checkstyle.xml b/src/site/resources/checkstyle/checkstyle.xml
similarity index 100%
rename from checkstyle.xml
rename to src/site/resources/checkstyle/checkstyle.xml