FELIX-3283 Revert generification, using annotations, and improved for-loops (commit #1215540)
- keep Java 1.4 animal sniffer plugin
- export webconsole from pom again (but add provide:=true for proper re-import)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1228221 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/pom.xml b/webconsole/pom.xml
index 8fd55e2..b6f4107 100644
--- a/webconsole/pom.xml
+++ b/webconsole/pom.xml
@@ -81,14 +81,6 @@
</execution>
</executions>
</plugin>
- <!-- Allow certain Java 5 features, generate Java 1.4 class files -->
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>5</source>
- <target>jsr14</target>
- </configuration>
- </plugin>
<!-- Make sure to not use non Java 1.4 API -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -129,6 +121,9 @@
<Bundle-Activator>
org.apache.felix.webconsole.internal.OsgiManagerActivator
</Bundle-Activator>
+ <Export-Package>
+ org.apache.felix.webconsole;version=3.1.2;provide:=true
+ </Export-Package>
<Import-Package>
org.osgi.service.metatype;resolution:=optional,
javax.servlet.*;version=2.4,
@@ -276,13 +271,5 @@
<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>