Claus Ibsen created CAMEL-8704:
----------------------------------
Summary: Building Camel 2.14.x fails due no OSGi jar found
Key: CAMEL-8704
URL: https://issues.apache.org/jira/browse/CAMEL-8704
Project: Camel
Issue Type: Task
Components: build system, karaf
Affects Versions: 2.14.2
Reporter: Claus Ibsen
Priority: Blocker
Fix For: 2.14.3
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
{code}
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)
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)