Hi Jean-Phillippe,

as long as you have a proper maven structure, it should already be
included, you don't need a special tag for the maven-bundle-plugin to do
so.

following structure is usually needed for maven built projects:

/src/main/java
/src/main/resources/
/src/test/java
/src/test/resources

just place your blueprint.xml in the /src/main/resources/OSGI-INF/ folder
and it will be inside your jar/bundle and therefore already in the right
place to be picked up by the blueprint-extender.

regards, Achim


2013/10/18 CLEMENT Jean-Philippe <[email protected]>

> 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
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to