Add License and Notice file.
Add them into the created bundle
Modify the ServletContextGroup license headers (Apache Licence)
Add rat in the pom to check the license headers consistency.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@759859 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http.jetty/pom.xml b/http.jetty/pom.xml
index 1c5bed6..30b023c 100644
--- a/http.jetty/pom.xml
+++ b/http.jetty/pom.xml
@@ -104,9 +104,28 @@
<Export-Service>
org.osgi.service.http.HttpService
</Export-Service>
+ <Include-Resource>
+ META-INF/LICENCE=LICENSE,
+ META-INF/NOTICE=NOTICE
+ </Include-Resource>
</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>