[
https://issues.apache.org/jira/browse/KARAF-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399931#comment-13399931
]
Claus Ibsen commented on KARAF-1585:
------------------------------------
Also the export packages wont have Bundle-Version in the packages from the
bundle itself. They dont carry version=1.2
Bundle-Name =
wrap_mvn_org.fusesource.leveldbjni_leveldbjni-all_1.2_Bundle-Version_1.2
Bundle-SymbolicName =
wrap_mvn_org.fusesource.leveldbjni_leveldbjni-all_1.2_Bundle-Version_1.2
Bundle-Version = 1.2
Bundle-ManifestVersion = 2
{code}
Import-Package =
org.fusesource.hawtjni.runtime;resolution:=optional,
org.fusesource.leveldbjni;resolution:=optional,
org.fusesource.leveldbjni.internal;resolution:=optional,
org.iq80.leveldb;resolution:=optional
Export-Package =
org.fusesource.hawtjni.runtime,
org.fusesource.leveldbjni;uses:="org.iq80.leveldb,org.fusesource.leveldbjni.internal,org.fusesource.hawtjni.runtime",
org.fusesource.leveldbjni.internal;uses:="org.iq80.leveldb,org.fusesource.hawtjni.runtime",
org.iq80.leveldb
{code}
> 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
> 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