Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8704

Building Camel 2.14.x fails due no OSGi jar found

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.14.2
    • 2.14.3
    • build system, karaf
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            njiang Willem Jiang
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment