You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chris Schwarzfischer (JIRA)" <ji...@apache.org> on 2019/03/21 12:55: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=16798069#comment-16798069 ] 

Chris Schwarzfischer commented on CAMEL-12885:
----------------------------------------------

There is a workaround by overwriting the Export-Package in {{ecj}} which exports version {{0.0.0}}.
{noformat}
install mvn:org.springframework.data/spring-data-redis/1.8.6.RELEASE
install mvn:com.querydsl/querydsl-collections
install mvn:com.querydsl/querydsl-core
install mvn:com.mysema.commons/mysema-commons-lang/0.2.4
install mvn:com.mysema.codegen/codegen/0.6.8
install mvn:com.google.guava/guava/19.0
install 'wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.6.1$overwrite=merge&Export-Package=org.*;version="4.6.1"'
feature:install camel-spring-redis/2.23.1
{noformat}
This is ugly, but it seems to work.

> 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)