I also installed the camel features into Karaf 2.2.5. Everything works well
except to install the camel-jclouds feature:

ip-109-85-71-208:bin cmueller$ ./karaf
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.5)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> feature:add-url
mvn:org.apache.camel.karaf/apache-camel/2.9.1/xml/features
karaf@root> feature:install camel-jclouds
Error executing command: Could not start bundle
mvn:org.jclouds/jclouds-core/1.3.1 in feature(s) jclouds-1.3.1: Unresolved
constraint in bundle jclouds-core [58]: Unable to resolve 58.0: missing
requirement [58.0] package; (package=javax.annotation)


The package is exported by Karaf with version 1.1.0.

karaf@root> package:export | grep javax.annotation
     0 # javax.annotation; version=1.1.0
     0 javax.annotation.processing; version=1.1.0


jclouds-core defines an import without a version range.

karaf@root> headers 79

jclouds Components Core (79)
----------------------------
Specification-Title = jclouds jclouds Components Core
Tool = Bnd-1.15.0
Specification-Vendor = jclouds
Implementation-Version = 1.3.1
Build-Jdk = 1.6.0_29
Implementation-Vendor-Id = org.jclouds.aws.s3
Created-By = Apache Maven Bundle Plugin
Manifest-Version = 1.0
Bnd-LastModified = 1326944828600
X-Compile-Target-JDK = 1.6
Built-By = iocanel
X-Compile-Source-JDK = 1.6
Implementation-Vendor = jclouds

Bundle-Vendor = jclouds
Bundle-Name = jclouds Components Core
Bundle-DocURL = http://www.jclouds.org/
Bundle-Description = Core components to access jclouds services
Bundle-SymbolicName = jclouds-core
Bundle-Version = 1.3.1
Bundle-License = ../resources/LICENSE.txt
Bundle-ManifestVersion = 2

DynamicImport-Package =
    org.jclouds.*
Import-Package =
    com.google.common.base,
    com.google.common.cache,
    com.google.common.collect,
    com.google.common.io,
    com.google.common.net,
    com.google.common.primitives,
    com.google.common.util.concurrent,
    com.google.gson;version="[2.1,3)",
    com.google.gson.internal;version="[2.1,3)",
    com.google.gson.internal.bind;version="[2.1,3)",
    com.google.gson.reflect;version="[2.1,3)",
    com.google.gson.stream;version="[2.1,3)",
    com.google.inject;version="[1.3,2)",
    com.google.inject.assistedinject;version="[1.3,2)",
    com.google.inject.binder;version="[1.3,2)",
    com.google.inject.matcher;version="[1.3,2)",
    com.google.inject.name;version="[1.3,2)",
    com.google.inject.spi;version="[1.3,2)",
    com.google.inject.util;version="[1.3,2)",
    com.sun.jersey.api.uri,
    javax.annotation,
...

For me, it looks like an issue in Karaf and not in Camel. JB, what do you
think?

Best,
Christian

On Sat, Mar 3, 2012 at 10:14 AM, Jean-Baptiste Onofré <j...@nanthrax.net>wrote:

> +1
>
> Tested with Karaf 2.2.5
>
> Regards
> JB
>
>
> On 03/01/2012 06:46 PM, Hadrian Zbarcea wrote:
>
>> A new patch release candidate apache-camel-2.9.1 is out with
>> approximately 108 issues resolved so far: improvements and bug fixes [1].
>>
>> Please find the staging repo here:
>> https://repository.apache.org/**content/repositories/**
>> orgapachecamel-005/<https://repository.apache.org/content/repositories/orgapachecamel-005/>
>>
>> The tarballs are here
>> https://repository.apache.org/**content/repositories/**
>> orgapachecamel-005/org/apache/**camel/apache-camel/2.9.1/<https://repository.apache.org/content/repositories/orgapachecamel-005/org/apache/camel/apache-camel/2.9.1/>
>>
>>
>> Tag:
>> http://svn.apache.org/repos/**asf/camel/tags/camel-2.9.1/<http://svn.apache.org/repos/asf/camel/tags/camel-2.9.1/>
>>
>> Please review, help out with testing and vote to approve this release
>> binary. Your vote counts!
>>
>> [ ] +1 Release the binary as Apache Camel 2.9.1
>> [ ] -1 Veto the release (provide specific comments)
>> Vote is open for at least 72 hours.
>>
>> Here's my +1
>> Hadrian
>>
>> [1]
>> https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
>> projectId=12311211&version=**12319191<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12319191>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to