Move checkstyle files out of the way
diff --git a/pom.xml b/pom.xml
index 5db14a2..9994d4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -242,7 +242,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<commons.encoding>UTF-8</commons.encoding>
- <checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
+ <checkstyle.header.file>${basedir}/src/conf/checkstyle-header.txt</checkstyle.header.file>
+ <checkstyle.config.file>${basedir}/src/conf/checkstyle.xml</checkstyle.config.file>
<checkstyle.version>2.17</checkstyle.version>
<commons.japicmp.version>0.15.2</commons.japicmp.version>
<commons.jacoco.version>0.8.6</commons.jacoco.version>
@@ -326,9 +327,9 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<configuration>
- <configLocation>${basedir}/checkstyle.xml</configLocation>
+ <configLocation>${checkstyle.config.file}</configLocation>
<enableRulesSummary>false</enableRulesSummary>
- <headerFile>${basedir}/LICENSE-header.txt</headerFile>
+ <headerFile>${checkstyle.header.file}</headerFile>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<resourceExcludes>NOTICE.txt,LICENSE.txt,**/pom.properties,**/sha512.properties</resourceExcludes>
</configuration>
@@ -362,9 +363,9 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<configuration>
- <configLocation>${basedir}/checkstyle.xml</configLocation>
+ <configLocation>${checkstyle.config.file}</configLocation>
<enableRulesSummary>false</enableRulesSummary>
- <headerFile>${basedir}/LICENSE-header.txt</headerFile>
+ <headerFile>${checkstyle.header.file}</headerFile>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
diff --git a/src/assembly/src.xml b/src/assembly/src.xml
index 4de79c3..431024d 100644
--- a/src/assembly/src.xml
+++ b/src/assembly/src.xml
@@ -24,9 +24,8 @@
<fileSets>
<fileSet>
<includes>
- <include>checkstyle*.xml</include>
+ <include>src/conf/*.*</include>
<include>LICENSE.txt</include>
- <include>LICENSE-header.txt</include>
<include>NOTICE.txt</include>
<include>pmd.xml</include>
<include>pom.xml</include>
diff --git a/LICENSE-header.txt b/src/conf/checkstyle-header.txt
similarity index 100%
rename from LICENSE-header.txt
rename to src/conf/checkstyle-header.txt
diff --git a/checkstyle-suppressions.xml b/src/conf/checkstyle-suppressions.xml
similarity index 100%
rename from checkstyle-suppressions.xml
rename to src/conf/checkstyle-suppressions.xml
diff --git a/checkstyle.xml b/src/conf/checkstyle.xml
similarity index 96%
rename from checkstyle.xml
rename to src/conf/checkstyle.xml
index d56696f..0d686a5 100644
--- a/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -25,7 +25,7 @@
<property name="localeLanguage" value="en" />
<module name="SuppressionFilter">
- <property name="file" value="checkstyle-suppressions.xml"/>
+ <property name="file" value="src/conf/checkstyle-suppressions.xml"/>
</module>
<!-- Checks whether files end with a new line. -->