configure rat excludes

git-svn-id: https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk@1487632 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/plugins/org.apache.geronimo.st.schemas/pom.xml b/plugins/org.apache.geronimo.st.schemas/pom.xml
index b005d0b..d5ff886 100644
--- a/plugins/org.apache.geronimo.st.schemas/pom.xml
+++ b/plugins/org.apache.geronimo.st.schemas/pom.xml
@@ -89,7 +89,20 @@
                 </excludes>
             </resource>
         </resources>
-		
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <configuration>
+                        <excludes>
+                            <exclude>META-INF/MANIFEST.MF</exclude>
+                            <exclude>v30/persistence_2_0.xsd</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>                      
+           </plugins>
+        </pluginManagement>		
         <plugins>
             <plugin>
                 <groupId>org.apache.geronimo.devtools</groupId>
diff --git a/plugins/org.apache.geronimo.st.v11.schemas/pom.xml b/plugins/org.apache.geronimo.st.v11.schemas/pom.xml
index 80e7a29..64de637 100644
--- a/plugins/org.apache.geronimo.st.v11.schemas/pom.xml
+++ b/plugins/org.apache.geronimo.st.v11.schemas/pom.xml
@@ -89,6 +89,20 @@
                 </excludes>
             </resource>
         </resources>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <configuration>
+                        <excludes>
+                            <exclude>META-INF/MANIFEST.MF</exclude>
+                            <exclude>v11/xml.xsd</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>                      
+           </plugins>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.apache.geronimo.devtools</groupId>
diff --git a/pom.xml b/pom.xml
index 1841409..6ecbb0f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -335,9 +335,9 @@
                 </plugin>
 
                 <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>rat-maven-plugin</artifactId>
-                    <version>1.0-alpha-3</version>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.9</version>
                     <configuration>
                         <excludes>
                             <exclude>**/MANIFEST.MF</exclude>
@@ -346,7 +346,6 @@
                             <exclude>**/.project</exclude>
                             <exclude>**/velocity.log</exclude>
                             <exclude>**/PLUGIN_RELEASE-NOTES*.txt</exclude>
-                            <exclude>**/target/**</exclude>
                         </excludes>
                     </configuration>
                 </plugin>