FELIX-307
---------
Moving all poms to maven-bundle-plugin
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@551579 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi/mosgi.managedelements.obrprobe/pom.xml b/mosgi/mosgi.managedelements.obrprobe/pom.xml
index 17f678b..2f9d790 100644
--- a/mosgi/mosgi.managedelements.obrprobe/pom.xml
+++ b/mosgi/mosgi.managedelements.obrprobe/pom.xml
@@ -7,11 +7,11 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <packaging>osgi-bundle</packaging>
+ <packaging>bundle</packaging>
<name>Apache Felix MOSGi JMX MBean for obr interaction</name>
<artifactId>org.apache.felix.mosgi.managedelements.obrprobe</artifactId>
<version>0.9.0-incubator-SNAPSHOT</version>
-
+
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
@@ -43,30 +43,17 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.felix.plugins</groupId>
- <artifactId>maven-osgi-plugin</artifactId>
- <!--version>${felix.version}</version-->
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <osgiManifest>
- <bundleName>MOSGi JMX MBean for obr interaction</bundleName>
- <bundleDescription>MOSGi JMX MBean for obr interaction</bundleDescription>
- <bundleActivator>auto-detect</bundleActivator>
- <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
- <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
- <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
- <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
- <exportPackage>
- ${pom.artifactId};specification-version="1.0.0"
- </exportPackage>
- <importPackage>
- org.osgi.framework;specification-version="1.0.0",
- org.osgi.service.log;specification-version="1.0.0",
- javax.management;specification-version="1.0.0",
- org.osgi.service.obr,
- org.apache.felix.mosgi.console.ifc;specification-version="1.0.0"
- </importPackage>
- </osgiManifest>
+ <instructions>
+ <Bundle-Name>MOSGi JMX MBean for obr interaction</Bundle-Name>
+ <Bundle-Description>MOSGi JMX MBean for obr interaction</Bundle-Description>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Activator>org.apache.felix.mosgi.managedelements.obrprobe.ObrProbe</Bundle-Activator>
+ <Export-Package>${pom.artifactId}</Export-Package>
+ </instructions>
</configuration>
</plugin>
</plugins>