[ https://issues.apache.org/jira/browse/KARAF-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved KARAF-811.
-----------------------------------
Resolution: Not A Problem
Try with
{code}
install wrap:mvn:commons-logging/commons-logging/1.1#Bundle-SymbolicName=JCL&Bundle-Version=1.1
{code}
> Combination of wrap+mvn and instructions doesnt work any more
> -------------------------------------------------------------
>
> Key: KARAF-811
> URL: https://issues.apache.org/jira/browse/KARAF-811
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.2.3
> Reporter: Ćukasz Dywicki
> Fix For: 2.2.6, 3.0.0
>
>
> Execution of command (url is taken from pax-url-wrap docs) doesn't work:
> {code}
> install wrap:mvn:commons-logging/commons-logging/1.1$Bundle-SymbolicName=JCL&Bundle-Version=1.1
> {code}
> Causes an error. Looks like pax-url-mvn uses 1.1$.... as version instead of using only
1.1:
> {code}
> java.lang.RuntimeException: URL [mvn:commons-logging/commons-logging/1.1-SymbolicName=JCL&Bundle-Version=1.1]
could not be resolved.
> org.ops4j.pax.url.mvn - 1.2.6 | Could not download [Version [1.1-SymbolicName=JCL&Bundle-Version=1.1]
from URL [file:/Users/lukasz/.m2/repository/commons-logging/commons-logging/1.1-SymbolicName=JCL&Bundle-Version=1.1/commons-logging-1.1-SymbolicName=JCL&Bundle-Version=1.1.jar]]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
|