FELIX-3281 Use Bundle plugin 2.3.6
  - Use BND annotations for package export
  - Add Package Level JavaDoc
  - Use Java 5 source level and Java 4 class file format (target=JSR14)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1215479 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/pom.xml b/webconsole/pom.xml
index 0c8a2be..6b992d1 100644
--- a/webconsole/pom.xml
+++ b/webconsole/pom.xml
@@ -82,9 +82,16 @@
                 </executions>
             </plugin>
             <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>5</source>
+                    <target>jsr14</target>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
-                <version>1.4.3</version>
+                <version>2.3.6</version>
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
@@ -100,15 +107,7 @@
                         <Bundle-Activator>
                             org.apache.felix.webconsole.internal.OsgiManagerActivator
                         </Bundle-Activator>
-                        <Export-Package>
-                            org.apache.felix.webconsole;version=3.1.2
-                        </Export-Package>
-                        <Private-Package>
-                            !org.apache.felix.webconsole,
-                            org.apache.felix.webconsole.*,
-                        </Private-Package>
                         <Import-Package>
-                            org.apache.felix.scr;version=1.0;resolution:=optional,
                             org.osgi.service.http,
                             org.apache.felix.shell;
                             org.osgi.service.*;resolution:=optional,
@@ -251,5 +250,13 @@
             <optional>true</optional>
         </dependency>
         
+        <!-- BND annotations -->
+        <dependency>
+            <groupId>biz.aQute</groupId>
+            <artifactId>bndlib</artifactId>
+            <version>1.50.0</version>
+            <scope>provided</scope>
+        </dependency>
+        
     </dependencies>
 </project>