Author: clement
Date: Mon Mar 30 09:37:11 2009
New Revision: 759893

URL: http://svn.apache.org/viewvc?rev=759893&view=rev
Log:
Avoid duplicating licence and notice files (root files will be copied in the 
bundle)
Add rat plugin in the pom

Removed:
    felix/trunk/log/src/main/resources/LICENSE
    felix/trunk/log/src/main/resources/NOTICE
Modified:
    felix/trunk/log/pom.xml

Modified: felix/trunk/log/pom.xml
URL: 
http://svn.apache.org/viewvc/felix/trunk/log/pom.xml?rev=759893&r1=759892&r2=759893&view=diff
==============================================================================
--- felix/trunk/log/pom.xml (original)
+++ felix/trunk/log/pom.xml Mon Mar 30 09:37:11 2009
@@ -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>


Reply via email to