Exclude not neccessary osgi classes from the main felix.jar
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@821067 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/pom.xml b/main/pom.xml
index 481c74c..a2331dd 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -65,11 +65,11 @@
<version>1.5.0-SNAPSHOT</version>
<exclusions>
<exclusion>
- <groupId>${pom.groupId}</groupId>
+ <groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
- <groupId>${pom.groupId}</groupId>
+ <groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
@@ -124,7 +124,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.4.3</version>
+ <version>2.0.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
@@ -136,7 +136,7 @@
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
<Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency>
<Private-Package>org.apache.felix.main.*</Private-Package>
- <Export-Package>!org.osgi.service.obr,org.osgi.*</Export-Package>
+ <Export-Package>!org.osgi.service.log, !org.osgi.service.obr,org.osgi.*</Export-Package>
<Import-Package>!*</Import-Package>
<Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,{src/main/resources/}</Include-Resource>
</instructions>