You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/05/26 15:09:20 UTC
[jira] [Updated] (CAMEL-6337) camel-cdi dependencies are wrong for
most cases
[ https://issues.apache.org/jira/browse/CAMEL-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-6337:
-------------------------------
Component/s: camel-cdi
Priority: Minor (was: Major)
Fix Version/s: Future
Issue Type: Improvement (was: Bug)
> camel-cdi dependencies are wrong for most cases
> -----------------------------------------------
>
> Key: CAMEL-6337
> URL: https://issues.apache.org/jira/browse/CAMEL-6337
> Project: Camel
> Issue Type: Improvement
> Components: camel-cdi
> Affects Versions: 2.11.0
> Reporter: Romain Manni-Bucau
> Priority: Minor
> Fix For: Future
>
>
> Hi,
> because of its main camel-cdi import:
> <exclusions> <!-- provided by the container -->
> <exclusion>
> <groupId>org.apache.geronimo.specs</groupId>
> <artifactId>geronimo-atinject_1.0_spec</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.apache.geronimo.specs</groupId>
> <artifactId>geronimo-jcdi_1.0_spec</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.apache.geronimo.specs</groupId>
> <artifactId>geronimo-interceptor_1.1_spec</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.sun.xml.bind</groupId>
> <artifactId>jaxb-impl</artifactId>
> </exclusion>
> </exclusions
> It is wrong since all containers (embedded or not) will provide it. The only case where it is relevant is the main and IMO it is better to use scope provided and ask for inclusion when needed (main). The main case shouldn't drive any dependency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira