Hi,

I'm currently trying to package a project using the maven-bundle-plugin, but
the Bundle-Blueprint header isn't making it into the final jar.

I'm using eclipse with a maven project and the project also has the
"BNDTools Project Nature" set. My parent pom looks like this:
============================================
<plugin>
   <groupId>org.apache.felix</groupId>
   <artifactId>maven-bundle-plugin</artifactId>
   <version>2.4.0</version>
   <configuration>
      <instructions>
        <_include>bnd.bnd</_include>
      </instructions>
   </configuration>
</plugin>
============================================

my project pom looks like this:
============================================
<plugin>
   <groupId>org.apache.felix</groupId>
   <artifactId>maven-bundle-plugin</artifactId>
   <extensions>true</extensions>
</plugin>
============================================

my project bnd.bnd looks like this:
============================================
Private-Package: j.p.j.consumer
Bundle-Version: 1.0.0
Export-Package:
Bundle-Blueprint: OSGI-INF/blueprint/*.xml
============================================

After issuing the "mvn clean package" command my final MANIFEST.MF looks
like this
============================================
Manifest-Version: 1.0
Bnd-LastModified: 1381668321898
Build-Jdk: 1.7.0_40
Built-By: bokie
Bundle-ManifestVersion: 2
Bundle-Name: j.p.j.consumer
Bundle-SymbolicName: j.p.j.consumer
Bundle-Version: 1.0.0
Created-By: Apache Maven Bundle Plugin
Import-Package: javax.jms;version="[2.0,3)",javax.naming,org.osgi.framew
 ork;version="[1.6,2)"
Tool: Bnd-2.1.0.20130426-122213
============================================

I expected the Bundle-Blueprint header to be copied to the final MANIFEST.MF
but it isn't.

Regards,
Jorge




--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Maven-BNDTools-Blueprint-tp5005534.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to