You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marcus Ionker (JIRA)" <ji...@apache.org> on 2019/04/18 10:07:00 UTC

[jira] [Commented] (CAMEL-12885) camel-spring-redis wont install from repo

    [ https://issues.apache.org/jira/browse/CAMEL-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820932#comment-16820932 ] 

Marcus Ionker commented on CAMEL-12885:
---------------------------------------

As Barry mentioned, I think the issue is caused by a discrepancy between the version specification in the camel-spring-redis pom.xml
{code:xml}
<properties>
   <camel.osgi.import.before.defaults>
      org.springframework.data.*;version="[1.0,2)"
   </camel.osgi.import.before.defaults>
</properties>
{code}
and the value of ${spring-data-redis-version} which is specified in the parent/pom.xml - currently as
{code:xml}
<spring-data-redis-version>2.1.1.RELEASE</spring-data-redis-version>
{code}
It would be great if this could even be addressed in a 2.23.x release.

> 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
(v7.6.3#76005)