Adding rat exclusions for third party LICENSE files

git-svn-id: https://svn.apache.org/repos/asf/portals/pluto/trunk@776131 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pluto-portal/pom.xml b/pluto-portal/pom.xml
index c44984d..ed60235 100644
--- a/pluto-portal/pom.xml
+++ b/pluto-portal/pom.xml
@@ -187,5 +187,22 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>rat</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>rat-maven-plugin</artifactId>            
+                        <configuration>
+                            <excludes combine.children="append">
+                                <exclude>src/main/webapp/META-INF/SLF4J-LICENSE</exclude>
+                                <exclude>src/main/webapp/META-INF/JAXB-LICENSE</exclude>
+                            </excludes>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>
diff --git a/pluto-testsuite/pom.xml b/pluto-testsuite/pom.xml
index a0eb153..3b1e032 100644
--- a/pluto-testsuite/pom.xml
+++ b/pluto-testsuite/pom.xml
@@ -233,5 +233,21 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>rat</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>rat-maven-plugin</artifactId>            
+                        <configuration>
+                            <excludes combine.children="append">
+                                <exclude>src/main/webapp/META-INF/SLF4J-LICENSE</exclude>
+                            </excludes>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>  
 </project>