Hi Werner,

the main thing the maven-bundle-plugin provides is the "bundle" packaging
which defines a new lifecycle that uses the bundle goal for packaging
instead
of the normal jar goal:

   bundle
      options:  supportedProjectTypes defaults to {"jar","bundle"}

but it does also contain some additional goals written by Carlos Sanchez to
perform some useful tasks for existing maven projects -  these goals are:

   bundleall   -   build an OSGi bundle jar for all transitive dependencies
      options:  supportedProjectTypes defaults to {"jar","bundle"}

   wrap          -   as above, but limited to the first level of
dependencies
      options:  supportedProjectTypes defaults to {"jar","bundle"}

   manifest   -   create an OSGi manifest for the current project
      options:  manifestLocation defaults to ${project.build.outputDirectory
}/META-INF
                     supportedProjectTypes defaults to {"jar","bundle"}

there are also new instructions available, as the underlying BND tool
continues to be improved - for the latest see http://aqute.biz/Code/Bnd

we should probably move to use generated maven docs for the plugin
as it would avoid this mismatch of documentation - I'll look into this.

btw, can you explain a bit more about how you're trying to use the plugin?

HTH

On 22/08/07, Werner Thiemann <[EMAIL PROTECTED]> wrote:
>
> Richard Hall was so kind to point me to this mailing list. Thank you!
>
> I used the documentation for the maven-bundle-plugin as provided at
> http://felix.apache.org/site/maven-bundle-plugin-bnd.html to configure
> the plugin. Unfortunately the output is not as I expected. So I was
> looking at the wiki and had a glimpse at some JIRA issues and it seams
> to me there must be some yet undocumented options and goals available.
>
> Could someone please provide me with the goals I can execute and maybe
> some parameters I can set (except the ones in the documentation)? I will
> then try to sum them up nicely and put them in the wiki.
>
> I'm especially interested in a goal creating the manifest file in the
> project (not in the jar) and parameters in the manifest file like
> Bundle-ClassPath and Require-Bundle or something similar.
>
> Thanks a lot in advance!
> Werner Thiemann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Cheers, Stuart

Reply via email to