activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] [Commented] (AMQ-6515) Install of activemq-blueprint fails as javax.inject is missing
Date Fri, 02 Dec 2016 12:53:58 GMT


Gary Tully commented on AMQ-6515:

the root cause of this issue was a leaked export-package of inject from guava 14. With guava
18 the export is not present and the bnd plugin does not pull it in from the transitive dependencies
and it no longer exists in the imports.
activemq-osgi has no need for the dependency.

> Install of activemq-blueprint fails as javax.inject is missing
> --------------------------------------------------------------
>                 Key: AMQ-6515
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: OSGi/Karaf
>    Affects Versions: 5.15.0
>            Reporter: Christian Schneider
>             Fix For: 5.15.0
> When just installing activemq-blueprint in a plain karaf 4.0.7 the following error happens.
It seems that javax.inject is missing in the feature activemq-client.
> karaf@root()> feature:repo-add activemq 5.15.0-SNAPSHOT
> Adding feature url mvn:org.apache.activemq/activemq-karaf/5.15.0-SNAPSHOT/xml/features
> karaf@root()> feature:install activemq-blueprint 
> Error executing command: Unable to resolve root: missing requirement [root] osgi.identity;
osgi.identity=activemq-blueprint; type=karaf.feature; version="[5.15.0.SNAPSHOT,5.15.0.SNAPSHOT]";
[caused by: Unable to resolve activemq-blueprint/5.15.0.SNAPSHOT: missing requirement [activemq-blueprint/5.15.0.SNAPSHOT]
osgi.identity; osgi.identity=activemq; type=karaf.feature; version="[5.15.0.SNAPSHOT,5.15.0.SNAPSHOT]"
[caused by: Unable to resolve activemq/5.15.0.SNAPSHOT: missing requirement [activemq/5.15.0.SNAPSHOT]
osgi.identity; osgi.identity=activemq-karaf; type=osgi.bundle; version="[5.15.0.SNAPSHOT,5.15.0.SNAPSHOT]";
resolution:=mandatory [caused by: Unable to resolve activemq-karaf/5.15.0.SNAPSHOT: missing
requirement [activemq-karaf/5.15.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=org.apache.activemq.console)"
[caused by: Unable to resolve org.apache.activemq.activemq-osgi/5.15.0.SNAPSHOT: missing requirement
[org.apache.activemq.activemq-osgi/5.15.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=javax.inject)"]]]]

This message was sent by Atlassian JIRA

View raw message