Details
-
Task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.14.2
-
None
-
Unknown
Description
The CI server cannot build 2.14.x due OSGi jar not found
https://builds.apache.org/job/Camel.2.14.x.notest/147/consoleFull
Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal on project camel-karaf-commands: Could not resolve dependencies for project org.apache.camel.karaf:camel-karaf-commands:bundle:2.14.3-SNAPSHOT: Could not find artifact org.eclipse.osgi:org.eclipse.osgi:jar:3.7.0.v20110124-0830 in central (http://repo.maven.apache.org/maven2) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project camel-karaf-commands: Could not resolve dependencies for project org.apache.camel.karaf:camel-karaf-commands:bundle:2.14.3-SNAPSHOT: Could not find artifact org.eclipse.osgi:org.eclipse.osgi:jar:3.7.0.v20110124-0830 in central (http://repo.maven.apache.org/maven2) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
It seems the OSGi jar is in central but only 2 versions. There is a 3.6.0 and 3.7.1 JAR. So I guess it may fool Mvn to download from central instead of some eclipse repo. As I think those JARs are in Eclipse Maven Repo as well.
Nevertheless building the source should work out of the box.