Commit the new iPOJO Version (Felix-311)
Change the global pom file : the iPOJO profile is no more useful thanks to the new maven plugin. However, manipulator and metadata move inside the plugins profile (required to compile the new maven plugin)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@550265 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/plugin/src/main/resources/archetype-resources/pom.xml b/ipojo/plugin/src/main/resources/archetype-resources/pom.xml
index 8da7b7b..faa7477 100644
--- a/ipojo/plugin/src/main/resources/archetype-resources/pom.xml
+++ b/ipojo/plugin/src/main/resources/archetype-resources/pom.xml
@@ -10,16 +10,28 @@
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.ipojo.plugin</artifactId>
+ <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <osgiManifest>
- <bundleName>${pom.name}</bundleName>
- <bundleDescription>$YOUR_BUNDLE_DESCRIPTION</bundleDescription>
- <iPOJOMetadata>metadata.xml</iPOJOMetadata>
- </osgiManifest>
+ <instructions>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Private-Package>YOUR_PRIVATE_PACKAGES</Private-Package>
+ <Import-Package>*</Import-Package> <!-- YOUR_IMPORTED_PACKAGES -->
+ <Export-Package>*</Export-Package> <!-- YOUR_EXPORTED_PACKAGES -->
+ </instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.ipojo.plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>ipojo-bundle</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>