felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aldana@gmx.de" <ald...@gmx.de>
Subject maven-bundle-plugin not resolving transitive dependencies
Date Tue, 11 Sep 2007 09:55:31 GMT

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?

you can reproduce described behaviour by using following pom (though do 
not forget to provide an implementation of  Activator). just do a 'mvn 
package'. have a look at the generated target/xxx.jar and you will see 
that org.apache.commons.codec does not get included.

<project xmlns="http://maven.apache.org/POM/4.0.0"

thanks for your answer in advance.

manuel aldana

To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message