[
https://issues.apache.org/jira/browse/CAMEL-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944529#comment-16944529
]
Claus Ibsen commented on CAMEL-12885:
-------------------------------------
On master it still fails
karaf@root()> feature:install camel-spring-redis
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root:
missing requirement [root] osgi.identity; osgi.identity=camel-spring-redis;
type=karaf.feature; version="[3.0.0.SNAPSHOT,3.0.0.SNAPSHOT]";
filter:="(&(osgi.identity=camel-spring-redis)(type=karaf.feature)(version>=3.0.0.SNAPSHOT)(version<=3.0.0.SNAPSHOT))"
[caused by: Unable to resolve camel-spring-redis/3.0.0.SNAPSHOT: missing
requirement [camel-spring-redis/3.0.0.SNAPSHOT] osgi.identity;
osgi.identity=org.apache.camel.camel-spring-redis; type=osgi.bundle;
version="[3.0.0.SNAPSHOT,3.0.0.SNAPSHOT]"; resolution:=mandatory [caused by:
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.geo)(version>=1.0.0)(!(version>=2.0.0)))"]]
at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
at
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393)
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve
camel-spring-redis/3.0.0.SNAPSHOT: missing requirement
[camel-spring-redis/3.0.0.SNAPSHOT] osgi.identity;
osgi.identity=org.apache.camel.camel-spring-redis; type=osgi.bundle;
version="[3.0.0.SNAPSHOT,3.0.0.SNAPSHOT]"; resolution:=mandatory [caused by:
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.geo)(version>=1.0.0)(!(version>=2.0.0)))"]
at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 12 more
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.geo)(version>=1.0.0)(!(version>=2.0.0)))"
at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=camel-spring-redis; type=karaf.feature;
version="[3.0.0.SNAPSHOT,3.0.0.SNAPSHOT]";
filter:="(&(osgi.identity=camel-spring-redis)(type=karaf.feature)(version>=3.0.0.SNAPSHOT)(version<=3.0.0.SNAPSHOT))"
[caused by: Unable to resolve camel-spring-redis/3.0.0.SNAPSHOT: missing
requirement [camel-spring-redis/3.0.0.SNAPSHOT] osgi.identity;
osgi.identity=org.apache.camel.camel-spring-redis; type=osgi.bundle;
version="[3.0.0.SNAPSHOT,3.0.0.SNAPSHOT]"; resolution:=mandatory [caused by:
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.geo)(version>=1.0.0)(!(version>=2.0.0)))"]]
> 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)