[ https://issues.apache.org/jira/browse/KARAF-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400316#comment-13400316 ]
Claus Ibsen commented on KARAF-1585: ------------------------------------ Yes examples of all 3 uses cases in the manual would be very welcome. I know wrap is not an ideal solution. But many JARs are not OSGi compliant out of the box. And ppl need to be able to use them with Karaf anyway. So if we have a bit better docs and examples, then that would be great. > Installing using wrap protocol fails when specifying bundle version > ------------------------------------------------------------------- > > Key: KARAF-1585 > URL: https://issues.apache.org/jira/browse/KARAF-1585 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.2.7 > Reporter: Claus Ibsen > Assignee: Freeman Fang > Priority: Minor > > I follow the docs at > http://karaf.apache.org/manual/2.2.7/developers-guide/creating-bundles.html > at the section _Creating bundles for third party dependencies_ > I try to execute as documented > {code} > karaf@root> osgi:install > wrap:mvn:commons-lang/commons-lang/2.4,Bundle-SymbolicName=commons-lang&Bundle-Version=2.4 > java.net.MalformedURLException: no protocol: > Bundle-SymbolicName=commons-lang&Bundle-Version=2.4 > {code} > But it fails. -- 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