You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Matt Sicker <bo...@gmail.com> on 2015/11/13 18:17:28 UTC

Cannot install camel-swagger through Karaf

I'm not sure where to report this bug: Karaf or Camel. When I add the Camel
repository and use "feature:install camel-swagger", I get the following
error:

Error executing command: Can't install feature camel-swagger/0.0.0:
Could not start bundle
mvn:com.fasterxml.jackson.module/jackson-module-scala_2.10/2.6.1 in
feature(s) camel-swagger-2.17-SNAPSHOT: Unresolved constraint in bundle
com.fasterxml.jackson.module.jackson.module.scala [99]: Unable to resolve
99.0: missing requirement [99.0] osgi.wiring.package;
(&(osgi.wiring.package=com.fasterxml.jackson.module.paranamer)(version>=2.6.0)(!(version>=3.0.0)))

I was able to fix this by manually installing the following bundles:
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2
wrap:mvn:com.thoughtworks.paranamer/paranamer/2.6
mvn:com.fasterxml.jackson.module/jackson-module-paranamer/2.6.1

These seem to be missing dependencies from the camel feature file.

-- 
Matt Sicker <bo...@gmail.com>

Re: Cannot install camel-swagger through Karaf

Posted by Matt Sicker <bo...@gmail.com>.
Thanks, that installs properly.

On 13 November 2015 at 11:29, Claus Ibsen <cl...@gmail.com> wrote:

> Yeah use camel-swagger-java from Camel 2.16 onwards. The old scala
> based is deprecated and dont work really in OSGi.
>
> On Fri, Nov 13, 2015 at 6:17 PM, Matt Sicker <bo...@gmail.com> wrote:
> > I'm not sure where to report this bug: Karaf or Camel. When I add the
> Camel
> > repository and use "feature:install camel-swagger", I get the following
> > error:
> >
> > Error executing command: Can't install feature camel-swagger/0.0.0:
> > Could not start bundle
> > mvn:com.fasterxml.jackson.module/jackson-module-scala_2.10/2.6.1 in
> > feature(s) camel-swagger-2.17-SNAPSHOT: Unresolved constraint in bundle
> > com.fasterxml.jackson.module.jackson.module.scala [99]: Unable to resolve
> > 99.0: missing requirement [99.0] osgi.wiring.package;
> >
> (&(osgi.wiring.package=com.fasterxml.jackson.module.paranamer)(version>=2.6.0)(!(version>=3.0.0)))
> >
> > I was able to fix this by manually installing the following bundles:
> >
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2
> > wrap:mvn:com.thoughtworks.paranamer/paranamer/2.6
> > mvn:com.fasterxml.jackson.module/jackson-module-paranamer/2.6.1
> >
> > These seem to be missing dependencies from the camel feature file.
> >
> > --
> > Matt Sicker <bo...@gmail.com>
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>



-- 
Matt Sicker <bo...@gmail.com>

Re: Cannot install camel-swagger through Karaf

Posted by Claus Ibsen <cl...@gmail.com>.
Yeah use camel-swagger-java from Camel 2.16 onwards. The old scala
based is deprecated and dont work really in OSGi.

On Fri, Nov 13, 2015 at 6:17 PM, Matt Sicker <bo...@gmail.com> wrote:
> I'm not sure where to report this bug: Karaf or Camel. When I add the Camel
> repository and use "feature:install camel-swagger", I get the following
> error:
>
> Error executing command: Can't install feature camel-swagger/0.0.0:
> Could not start bundle
> mvn:com.fasterxml.jackson.module/jackson-module-scala_2.10/2.6.1 in
> feature(s) camel-swagger-2.17-SNAPSHOT: Unresolved constraint in bundle
> com.fasterxml.jackson.module.jackson.module.scala [99]: Unable to resolve
> 99.0: missing requirement [99.0] osgi.wiring.package;
> (&(osgi.wiring.package=com.fasterxml.jackson.module.paranamer)(version>=2.6.0)(!(version>=3.0.0)))
>
> I was able to fix this by manually installing the following bundles:
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2
> wrap:mvn:com.thoughtworks.paranamer/paranamer/2.6
> mvn:com.fasterxml.jackson.module/jackson-module-paranamer/2.6.1
>
> These seem to be missing dependencies from the camel feature file.
>
> --
> Matt Sicker <bo...@gmail.com>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2