Hi JP,

Karaf POM references bndlib 2.4.0 (not 3.0.0).

Doing a dependency:tree on the karaf-maven-plugin, we can see:

[INFO] +- org.apache.felix:maven-bundle-plugin:jar:3.0.0:compile
[INFO] |  +- biz.aQute.bnd:biz.aQute.bndlib:jar:3.0.0:compile
[INFO] |  +- org.apache.maven:maven-archiver:jar:2.5:compile


So, bndlib is not directly referenced by Karaf, but transitively from maven-bundle-plugin.

You need the additional repository to resolve bndlib 3.0.0, let me paste the full URL:

Regards
JB

On 11/10/2015 11:11 AM, CLEMENT Jean-Philippe wrote:
Dear Karaf Team,

I moved our assembly based on Karaf 3.0.2 to the 4.0.2 version. During the 
build we have a missing dependency on bndlib.jar 3.0.0:
  " Unresolveable build extension: Plugin 
org.apache.karaf.tooling:karaf-maven-plugin:4.0.2 or one of its dependencies could not be 
resolved: Failure to find biz.aQute.bnd:biz.aQute.bndlib:jar:3.0.0 "

Going to Maven Central there is no jar for this version. I only found the pom 
file as long as its sources, but no .jar!

How did you build Karaf 4.0.2?

Regards,
JP

[@@ THALES GROUP INTERNAL @@]

-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]]
Envoyé : mardi 13 octobre 2015 08:06
À : Karaf Dev; user
Objet : [ANN] Apache Karaf 4.0.2 Released!

The Karaf team is pleased to announce the release of Karaf version 4.0.2.

This is an update patch for Apache Karaf 4.0.x, containing many bug fixes, 
dependency updates, and improvements.

http://karaf.apache.org/

This release is available from
http://karaf.apache.org/index/community/download.html#Karaf4.0.2 and

Maven:

   <dependency>
   <groupId>org.apache.karaf</groupId>
   <artifactId>apache-karaf</artifactId>
   <version>4.0.2</version>
   </dependency>

Release Notes:

http://karaf.apache.org/index/community/download/karaf-4.0.2-release.html

Enjoy!


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to