Stuart McCulloch schrieb:
On 11/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
hi,

i am using maven-bundle-plugin to build a osgi bundle (which is a great
bridge between maven-dependency management and osgi).

for importing i am using <Private-Package>, which includes all maven
dependencies. the first level dependency artifacts (see
commons-httpclient) get included but the transitive dependencies (as
commons-httpclient --->commons-coded) not. is that a bug or do i need to
enable this option somewhere?


I've tried your pom with the latest plugin code in trunk (1.1.0-SNAPSHOT)
and I get the transitive dependencies inside the bundle, so this problem is
fixed, but is not yet available in a released plugin
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.

but using the FELIX-308 functionality is a little clearer:

  <Embed-Transitive>true</Embed-Transitive>
  <Embed-Dependency>
    *;groupId=!org.eclipse.equinox;inline=true
  </Embed-Dependency>

you can also now ask Bnd to export the contents of the bundle without
needing to know the packages in advance, which is useful for wrapping:

  <_exportcontents>*</_exportcontents>
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?

--
manuel aldana
[EMAIL PROTECTED]
www.aldana-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to