[maven-release-plugin] copy for tag jxr-2.5

git-svn-id: https://svn.apache.org/repos/asf/maven/jxr/tags/jxr-2.5@1636090 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-jxr-plugin/pom.xml b/maven-jxr-plugin/pom.xml
index 2de3a58..1a4d781 100644
--- a/maven-jxr-plugin/pom.xml
+++ b/maven-jxr-plugin/pom.xml
@@ -39,7 +39,7 @@
     <mavenVersion>2.2.1</mavenVersion>
     <doxia-sitetoolsVersion>1.4</doxia-sitetoolsVersion>
     <doxiaVersion>1.4</doxiaVersion>
-    <mavenPluginToolsVersion>3.2</mavenPluginToolsVersion>
+    <mavenPluginToolsVersion>3.3</mavenPluginToolsVersion>
   </properties>
 
   <prerequisites>
diff --git a/maven-jxr/pom.xml b/maven-jxr/pom.xml
index 7944824..c3ec52c 100644
--- a/maven-jxr/pom.xml
+++ b/maven-jxr/pom.xml
@@ -39,6 +39,12 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
+          <!-- 
+               The following has to be execluded from checkstyle otherwise
+               it will fail based on the license of the file until
+               a better solution exists.
+               http://jira.codehaus.org/browse/JXR-117
+          -->
           <configuration>
             <excludes>**/JavaCodeTransform.java</excludes>
           </configuration>
diff --git a/pom.xml b/pom.xml
index 708c388..dd38373 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,6 +100,24 @@
           <artifactId>maven-release-plugin</artifactId>
           <configuration>
             <tagBase>https://svn.apache.org/repos/asf/maven/jxr/tags</tagBase>
+            <autoVersionSubmodules>true</autoVersionSubmodules>
+          </configuration>
+        </plugin>
+        <!-- 
+             Requested an enhancement:
+             https://issues.apache.org/jira/browse/RAT-184
+             http://jira.codehaus.org/browse/JXR-122
+             This needed to be added to ingore the generated DEPENDENCIES files
+             otherwise we will have a release in release area which can't be built
+             without changing.
+        -->
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>DEPENDENCIES</exclude>
+            </excludes>
           </configuration>
         </plugin>
       </plugins>