[
https://issues.apache.org/jira/browse/SM-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083765#comment-14083765
]
Krzysztof Sobkowiak commented on SM-2346:
-----------------------------------------
I tried to install manually the bundles from the {{camel-avro}} feature
{code}
karaf@root> osgi:install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.paranamer/2.4_1
Bundle ID: 170
karaf@root> osgi:install -s mvn:org.apache.commons/commons-compress/1.5
Bundle ID: 171
karaf@root> osgi:install -s mvn:org.xerial.snappy/snappy-java/1.1.0.1
Bundle ID: 172
karaf@root> osgi:install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.avro/1.7.6_1
Bundle ID: 173
Error executing command: Error installing bundles:
Unable to start bundle
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.avro/1.7.6_1:
Unresolved constraint in bundle org.apache.servicemix.bundles.avro [173]:
Unable to resolve 173.0: missing requirement [173.0] osgi.wiring.package;
(osgi.wiring.package=sun.misc)
{code}
The ServiceMix {{avro}} bundle imports the {{sun.misc}} package which is not
exported by any bundle. Probably the problem should be corrected in the
{{avro}} bundle and {{camel-avro}} feature
> Can not resolve feature: camel-avro
> -----------------------------------
>
> Key: SM-2346
> URL: https://issues.apache.org/jira/browse/SM-2346
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-camel
> Affects Versions: 5.1.0
> Reporter: Brad Nussbaum
> Priority: Blocker
> Fix For: 5.0.x, 5.1.x, 5.2.x, 6.0.x
>
>
> karaf@root> features:list |grep avro
> [uninstalled] [2.13.1 ] camel-avro
> camel-2.13.1
> karaf@root> features:install camel-avro
> Error executing command: Can not resolve feature:
> Unsatisfied requirement(s):
> ---------------------------
>
> package:(&(package=org.apache.avro.file)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
> package:(&(package=org.apache.avro.ipc)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
> package:(&(package=org.apache.avro.io)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
>
> package:(&(package=org.apache.avro.ipc.reflect)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.generic)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
> package:(&(package=org.apache.avro)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
>
> package:(&(package=org.apache.avro.reflect)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.util)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
>
> package:(&(package=org.apache.avro.specific)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
> package:(&(package=org.apache.avro)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.specific)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
> package:(&(package=org.apache.avro.io)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.data)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
>
> package:(&(package=org.apache.avro.generic)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.ipc.specific)(version>=1.7.0)(!(version>=2.0.0)))
> camel-avro
>
> package:(&(package=org.apache.avro.reflect)(version>=1.7.0)(!(version>=2.0.0)))
> Apache ServiceMix :: Bundles :: avro-ipc
> package:(&(package=sun.misc))
> Apache ServiceMix :: Bundles :: avro
--
This message was sent by Atlassian JIRA
(v6.2#6252)