[
https://issues.apache.org/jira/browse/CAMEL-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944532#comment-16944532
]
Claus Ibsen commented on CAMEL-12885:
-------------------------------------
I wonder if there is a bug/issue in the servicemix bundle of spring-data-redis
importing that package which are not used in non OSGi
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve
org.apache.camel.camel-spring-redis/3.0.0.SNAPSHOT: missing requirement
[org.apache.camel.camel-spring-redis/3.0.0.SNAPSHOT] osgi.wiring.package;
filter:="(osgi.wiring.package=org.springframework.data.redis.connection.jedis)"
[caused by: Unable to resolve
org.apache.servicemix.bundles.spring-data-redis/2.1.10.RELEASE_1: missing
requirement [org.apache.servicemix.bundles.spring-data-redis/2.1.10.RELEASE_1]
osgi.wiring.package; filter:="(osgi.wiring.package=javax.enterprise.context)"]
at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve
org.apache.servicemix.bundles.spring-data-redis/2.1.10.RELEASE_1: missing
requirement [org.apache.servicemix.bundles.spring-data-redis/2.1.10.RELEASE_1]
osgi.wiring.package; filter:="(osgi.wiring.package=javax.enterprise.context)"
at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 14 more
> camel-spring-redis wont install from repo
> -----------------------------------------
>
> Key: CAMEL-12885
> URL: https://issues.apache.org/jira/browse/CAMEL-12885
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-redis
> Affects Versions: 2.22.0
> Reporter: Barry Rawlinson
> Assignee: Andrea Cosentino
> Priority: Minor
>
> When I try to install camel-spring-redis from 2.22.0 repo I receive the
> dependency error:
> {code:bash}
> karaf@root()> feature:install camel-spring-redis
> Error executing command: Unable to resolve root: missing requirement [root]
> osgi.identity; osgi.identity=camel-spring-redis; type=karaf.feature;
> version="[2.22.0,2.22.0]";
> filter:="(&(osgi.identity=camel-spring-redis)(type=karaf.feature)(version>=2.22.0)(version<=2.22.0))"
> [caused by: Unable to resolve camel-spring-redis/2.22.0: missing requirement
> [camel-spring-redis/2.22.0] osgi.identity;
> osgi.identity=org.apache.camel.camel-spring-redis; type=osgi.bundle;
> version="[2.22.0,2.22.0]"; resolution:=mandatory [caused by: Unable to
> resolve org.apache.camel.camel-spring-redis/2.22.0: missing requirement
> [org.apache.camel.camel-spring-redis/2.22.0] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.springframework.data.redis.connection)(version>=1.0.0)(!(version>=2.0.0)))"]]
> {code}
> I've tried to install the missing requirements but this fails to resolve the
> problem:
> {code:bash}
> install wrap:mvn:org.springframework.data/spring-data-redis/1.8.15.RELEASE
> install mvn:com.querydsl/querydsl-collections/4.2.1
> install mvn:com.querydsl/querydsl-core/4.2.1
> install mvn:com.mysema.commons/mysema-commons-lang/0.2.4
> install mvn:com.mysema.codegen/codegen/0.6.8
> install wrap:mvn:org.eclipse.jdt.core.compiler/ecj/3.7.2
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)