Igor Lazebny created KARAF-4655:
-----------------------------------

             Summary: karaf-maven-plugin add-features-to-repo goal can't add 
Camel feature
                 Key: KARAF-4655
                 URL: https://issues.apache.org/jira/browse/KARAF-4655
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 4.0.5, 4.0.6
            Reporter: Igor Lazebny


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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to