[ 
https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227511#comment-13227511
 ] 

Jean-Baptiste Onofré commented on KARAF-891:
--------------------------------------------

The issue is still present on karaf-2.2.x branch and trunk.

The $ character is not "escaped" by jline:

karaf@root> osgi:install -s 
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
java.lang.RuntimeException: URL 
[mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1]
 could not be resolved.
karaf@root> osgi:install -s 
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
osgi:install -s 
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
java.lang.RuntimeException: URL 
[mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1]
 could not be resolved.


                
> Problem either with documentation or shell regarding wrapped wrap:mvn 
> artifacts
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-891
>                 URL: https://issues.apache.org/jira/browse/KARAF-891
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-documentation, karaf-shell
>    Affects Versions: 2.2.1
>         Environment: OS-X Lion JDK 1.6
>            Reporter: Brian Topping
>             Fix For: 2.2.6, 3.0.0
>
>
> When trying to install a maven jar with the wrap protocol, the syntax 
> documented at both http://team.ops4j.org/wiki//display/paxurl/Wrap+Protocol 
> and 
> http://karaf.apache.org/manual/2.2.2/developers-guide/creating-bundles.html 
> do not have the desired effect when attempting to add instructions such as 
> Bundle-Version in the URL.  
> Example:  "osgi:install -s 
> wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1"

--
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


Reply via email to