Hi Manuel,

On 11/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> yes, after having checked out the trunk and making an install it works
> on my side too.
> is there a reason, why the snapshot in the trunk is not put on the
> public repository? this way people could skip the manual mvn install.


snapshots for the bundleplugin and other felix artifacts are available from:

   http://people.apache.org/repo/m2-snapshot-repository

but be warned this repo also contains other plugin snapshots (such as for
maven itself)

I hope to make a new release of the bundleplugin after carlos' changes are
in (FELIX-360)
but this has to go through a vote, etc. so I can't say exactly when it will
get to the central
repository

thanks for information. that makes references clearer as the brute * in
> <Private-Packages>. integration with maven abstraction as groupId
> filtering fits more into the maven workflow.
>
> one more question:
> <_exportcontents>*</_exportcontents> tells, that it should export all
> packages of the bundle/project the pom.xml is bound to, right?


exportcontents is just like Export-Package, except that it is applied after
the contents
of the bundle have been calculated - the benefit of this is that you can use
* to export
everything that has been pulled into the bundle without affecting the
contents

  see http://aqute.biz/Code/Bnd#directives

background: the Bnd tool has two phases:

  1) assembling the contents of the bundle
  2) generating the OSGi manifest

the first phase uses Export-Package, Private-Package and Include-Resource to
select
which classes, files, etc. are pulled into the bundle from the compilation
classpath.

between the first and second phases the exportcontents directive is merged
with the
original Export-Package and this combination is used when generating the
manifest.

hope this makes things clearer

--
> manuel aldana
> [EMAIL PROTECTED]
> www.aldana-online.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
Cheers, Stuart

Reply via email to