[ https://issues.apache.org/jira/browse/KARAF-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved KARAF-4655.
----------------------------------------
Resolution: Fixed
I found and fixed the issue. Can you retest with master or karaf-4.1.x?
> 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
> Assignee: Christian Schneider
> Fix For: 4.2.0, 4.1.3
>
> Attachments: pom.xml
>
>
> 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.4.14#64029)
|