You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2011/04/20 05:06:06 UTC

[jira] [Resolved] (CAMEL-3881) camel-spring doesn't import into eclipse

     [ https://issues.apache.org/jira/browse/CAMEL-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea resolved CAMEL-3881.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Patch applied in r1095258 with thanks to Dan Kulp.

> camel-spring doesn't import into eclipse
> ----------------------------------------
>
>                 Key: CAMEL-3881
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3881
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.8.0
>            Reporter: Daniel Kulp
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> camel-spring no longer imports into eclipse as OsgiSpringCamelContext references OsgiTypeConverter which implements ServiceTrackerCustomizer.   The org.osgi.compendium jar isn't a dependency of camel-spring so the class cannot be found and eclipse gives an error.
> Simple fix is to add a dependency to the pom:
> {code:xml}
>     <dependency>
>       <groupId>org.osgi</groupId>
>       <artifactId>org.osgi.compendium</artifactId>
>       <scope>provided</scope>
>       <optional>true</optional>
>     </dependency>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira