Update the eventadmin to configuration bridge to the new plugin.
git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@470798 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/eventadmin.bridge.configuration/pom.xml b/eventadmin.bridge.configuration/pom.xml
index 98ffc0b..c880abd 100644
--- a/eventadmin.bridge.configuration/pom.xml
+++ b/eventadmin.bridge.configuration/pom.xml
@@ -5,40 +5,39 @@
<version>0.8.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <packaging>osgi-bundle</packaging>
+ <packaging>bundle</packaging>
<name>Apache Felix EventAdmin Bridge Configuration</name>
<artifactId>org.apache.felix.eventadmin.bridge.configuration</artifactId>
+ <description>
+ This bundle provides a bridge between Configuration and EventAdmin events.
+ </description>
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${pom.version}</version>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>${pom.version}</version>
- <scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
- <groupId>org.apache.felix.plugins</groupId>
- <artifactId>maven-osgi-plugin</artifactId>
- <version>${pom.version}</version>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <osgiManifest>
- <bundleName>EventAdmin Bridge Configuration</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
- This bundle provides a bridge between Configuration and EventAdmin events.
- </bundleDescription>
- <bundleActivator>auto-detect</bundleActivator>
- <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
- </osgiManifest>
+ <instructions>
+ <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Private-Package>${pom.artifactId}.*</Private-Package>
+ <Include-Resource>
+ src/main/resources
+ </Include-Resource>
+ </instructions>
</configuration>
</plugin>
</plugins>