For blueprint using maven, * Add your blueprint files to, src/main/resources/OSGI-INF/blueprint * For the pom.xml file, I usually don't add anything in the bundle area
The maven-bundle-plugin searches your project and adds the tags the project needs. Sometimes it does need a little help, but it depends on the project.
This is the way I build all of my projects for OSGI. On 10/18/2013 04:42 AM, CLEMENT Jean-Philippe wrote:
Dear Karaf Team, I would like to use Maven (maven-bundle-plugin) as build tool instead of Ant. What would be the best approach to build blueprint-enabled bundles - which maven-bundle-plugin tags should I add in the pom in order the blueprint files to be included in the bundle? JP
