Hi Jean-Philippe,

Simply add this plugin to pom file and specify "bundle" as packaging type.

<plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
<Export-Package>some.packages</Export-Package>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>

Simply add your blueprint files to src/main/resources/OSGI-INF/blueprint/ directory.

The command maven:package will produce an osgi module.

Christophe.

Le 18/10/2013 11:42, CLEMENT Jean-Philippe a écrit :
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



--
------------------------

Christophe Massol
SWING-WS

Reply via email to