more checkstyle tweakage

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/branches/version-2.0-work@967272 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build-tools/src/main/resources/org/apache/commons/proxy2/checkstyle.xml b/build-tools/src/main/resources/org/apache/commons/proxy2/checkstyle.xml
index 42fd910..0ed8c5b 100644
--- a/build-tools/src/main/resources/org/apache/commons/proxy2/checkstyle.xml
+++ b/build-tools/src/main/resources/org/apache/commons/proxy2/checkstyle.xml
@@ -25,7 +25,7 @@
   <property name="localeLanguage" value="en"/>
 
   <module name="Header">
-    <property name="headerFile" value="license-header.txt"/>
+    <property name="headerFile" value="${checkstyle.header.file}"/>
   </module>
 
   <!-- no tabs allowed in files -->
diff --git a/license-header.txt b/build-tools/src/main/resources/org/apache/commons/proxy2/license-header.txt
similarity index 100%
rename from license-header.txt
rename to build-tools/src/main/resources/org/apache/commons/proxy2/license-header.txt
diff --git a/pom.xml b/pom.xml
index 5adb29a..7073558 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,6 +155,7 @@
                 <artifactId>maven-checkstyle-plugin</artifactId>
                 <configuration>
                     <configLocation>org/apache/commons/proxy2/checkstyle.xml</configLocation>
+                    <headerLocation>org/apache/commons/proxy2/license-header.txt</headerLocation>
                 </configuration>
             </plugin>
             <plugin>