FELIX-3280 Upgrade to Parent POM 2.1
  - cleanup license files
  - remove old license files
  - make sure only exported package JavaDoc is generated
  - exclude JQuery JS, CSS and HTML temaples from RAT check

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1215476 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/pom.xml b/webconsole/pom.xml
index d13838a..0c8a2be 100644
--- a/webconsole/pom.xml
+++ b/webconsole/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.felix</groupId>
         <artifactId>felix-parent</artifactId>
-        <version>1.2.0</version>
+        <version>2.1</version>
         <relativePath>../pom/pom.xml</relativePath>
     </parent>
 
@@ -132,6 +132,36 @@
                     </instructions>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <excludePackageNames>
+                        *.internal
+                    </excludePackageNames>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <includes>
+                        <include>src/**</include>
+                    </includes>
+                    <excludes>
+                        <exclude>src/main/appended-resources/**</exclude>
+                        <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude>
+                        <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude>
+                        <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
+                        <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
+                        <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
+                        <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
+                        <exclude>src/main/resources/res/lib/reset-min.css</exclude>
+                        <exclude>src/main/resources/res/lib/themes/**</exclude>
+                        <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
+                        <exclude>src/main/resources/templates/*.html</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>