Build org.osgi.service.obr as a bundle, now that version 1.0.1 is released
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@620296 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.osgi.service.obr/pom.xml b/org.osgi.service.obr/pom.xml
index a875f2a..412ee35 100644
--- a/org.osgi.service.obr/pom.xml
+++ b/org.osgi.service.obr/pom.xml
@@ -32,7 +32,7 @@
<description>OSGi OBR Service API</description>
<artifactId>org.osgi.service.obr</artifactId>
<version>1.1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
@@ -40,4 +40,24 @@
<version>1.0.0</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Export-Package>${pom.artifactId}</Export-Package>
+ <Import-Package>org.osgi.framework;version="[1.3,2)",*</Import-Package>
+ <Bundle-Version>1</Bundle-Version>
+ <Bundle-Copyright>Copyright (c) OSGi Alliance (2000, 2008). All Rights Reserved.</Bundle-Copyright>
+ <Bundle-Category>osgi</Bundle-Category>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/pom/pom.xml b/pom/pom.xml
index d724fc6..49f6b50 100644
--- a/pom/pom.xml
+++ b/pom/pom.xml
@@ -94,7 +94,6 @@
</property>
</activation>
<modules>
- <module>../org.osgi.service.obr</module>
<module>../maven-obr-plugin</module>
<module>../bundleplugin</module>
<module>../scrplugin</module>
@@ -443,4 +442,4 @@
</plugin-->
</plugins>
</reporting>
-</project>
\ No newline at end of file
+</project>