Hi Carlos,

There is a subtle maven bug that you should be aware of since you are working with the plugin.

See:
http://issues.apache.org/jira/browse/FELIX-198

It has bitten us here at felix on several occasions and because of it we have been forced to use an Ant frontend. :-(

Sure wish it could get fixed so we could go to a consistent pom and get rid of ant. O:-)

kind regards,
John

Carlos Sanchez (JIRA) wrote:
[ https://issues.apache.org/jira/browse/FELIX-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471069 ]
Carlos Sanchez commented on FELIX-199:
--------------------------------------

i see the bundle goal as part of the usual build process, generating the osgi 
manifest for any maven project, while the recursivebundle would be a conversion 
step that you execute only once to convert third party libraries that won't 
likely change.

The patch is no longer up to date as I'm trying to figure out the way to make 
version importing work, you can see my progress in 
http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-bundle-plugin/ and 
comment on that.

Add a recursive bundle goal to maven plugin to generate osgi bundles for all 
dependencies
-----------------------------------------------------------------------------------------

                Key: FELIX-199
                URL: https://issues.apache.org/jira/browse/FELIX-199
            Project: Felix
         Issue Type: New Feature
         Components: Maven Plugin
           Reporter: Carlos Sanchez
        Attachments: recursivebundle.diff.txt


Running
mvn org.apache.felix:maven-bundle-plugin:recursivebundle
in a project will convert each dependency, including transitive ones, to an 
OSGi bundle in the target dir. It does not include dependent libraries in the 
bundle, so each bundle matches the corresponding jar.


Reply via email to