Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4655

karaf-maven-plugin add-features-to-repo goal can't add Camel feature

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.5, 4.0.6
    • Fix Version/s: 4.1.3, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None

      Description

      camel-restlet 2.17.3 feature contains bundle reference like this:

      <bundle dependency="true">mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6</bundle>

      add-features-to-repo can't interpret it correctly trying to connect to "id=restlet" host:

      [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.6-SNAPSHOT:features-add-to-repository (add-features-to-repo) on project karaf-maven-plugin-test: Error populating repository: Error resolving feature camel-restlet/2.17.3: Error resolving artifact mvn:http://maven.restlet.org@id=restlet!org.restlet.osgi/org.restlet/2.3.6: Can't resolve artifact org.restlet.osgi:org.restlet:jar:2.3.6: Could not transfer artifact org.restlet.osgi:org.restlet:jar:2.3.6 from/to http://maven.restlet.org@id=restlet (http://id=restlet): id=restlet: unknown error
      [ERROR] org.restlet.osgi:org.restlet:jar:2.3.6
      [ERROR]
      [ERROR] from the specified remote repositories:
      [ERROR] http://maven.restlet.org@id=restlet (http://id=restlet, releases=true, snapshots=true): Unknown host id=restlet: unknown error

        Attachments

        1. pom.xml
          3 kB
          Igor Lazebny

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              ilazebny Igor Lazebny
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: