[
https://issues.apache.org/jira/browse/KARAF-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228480#comment-13228480
]
Jamie goodyear commented on KARAF-891:
--------------------------------------
On Karaf 3.0.x series use double escape characters before the $ character as
well:
{code}
karaf@root> bundle:install -s
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
Bundle IDs:
Error executing command: Error installing bundles:
Unable to install bundle
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
karaf@root> bundle:install -s
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
bundle:install -s
wrap:mvn:org.springframework.ldap/spring-ldap-core/1.3.1.RELEASE\$Bundle-SymbolicName=spring-ldap-core&Bundle-Version=1.3.1
Bundle ID: 72
karaf@root>
{code}
> Problem with $ charact in wrap:mvn URL
> --------------------------------------
>
> 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
> Assignee: Jamie goodyear
> 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