Avoid duplicating licence and notice files (root files will be copied in the bundle)
Add rat plugin in the pom

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@759893 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/log/pom.xml b/log/pom.xml
index 33b9bb5..9483ba4 100644
--- a/log/pom.xml
+++ b/log/pom.xml
@@ -57,10 +57,29 @@
             <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
             <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
             <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
+            <Include-Resource> 
+                        	META-INF/LICENSE=LICENSE,
+							META-INF/NOTICE=NOTICE 
+			</Include-Resource>
             <Export-Service>org.osgi.service.log.LogService,org.osgi.service.log.LogReaderService</Export-Service>
           </instructions>
         </configuration>
       </plugin>
+       <plugin>
+		<groupId>org.codehaus.mojo</groupId>
+		<artifactId>rat-maven-plugin</artifactId>
+		<configuration>
+			<excludeSubProjects>false</excludeSubProjects>
+			<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
+			<useMavenDefaultExcludes>true</useMavenDefaultExcludes>
+			<excludes>
+				<param>doc/*</param>
+				<param>maven-eclipse.xml</param>
+				<param>.checkstyle</param>
+				<param>.externalToolBuilders/*</param>
+			</excludes>
+		</configuration>
+	   </plugin>
     </plugins>
   </build>
 </project>