FELIX-1282 Do not export SCR API and only include Import/Export-Package parser
support classes from bundlerepository bundle.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@789277 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/pom.xml b/webconsole/pom.xml
index 15cfd79..862b4a7 100644
--- a/webconsole/pom.xml
+++ b/webconsole/pom.xml
@@ -78,8 +78,7 @@
org.apache.felix.webconsole.internal.OsgiManagerActivator
</Bundle-Activator>
<Export-Package>
- org.apache.felix.webconsole;version=${project.version},
- org.osgi.service.obr
+ org.apache.felix.webconsole;version=${project.version}
</Export-Package>
<Private-Package>
!org.apache.felix.webconsole,
@@ -95,8 +94,8 @@
</Import-Package>
<Embed-Dependency>
- <!-- Import/Export-Package parsing, OBR -->
- org.apache.felix.bundlerepository,
+ <!-- Import/Export-Package parsing -->
+ org.apache.felix.bundlerepository;inline=org/apache/felix/bundlerepository/R4*.class,
<!-- Required for JSON data transfer -->
json,
@@ -171,6 +170,15 @@
<scope>provided</scope>
</dependency>
+ <!-- OBR Service API -->
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.service.obr</artifactId>
+ <version>1.0.2</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Parsing Import/Export-Package headers -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.bundlerepository</artifactId>