[
https://issues.apache.org/jira/browse/CAMEL-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667316#comment-13667316
]
Claus Ibsen commented on CAMEL-6337:
------------------------------------
As usual patches is welcome.
> camel-cdi dependencies are wrong for most cases
> -----------------------------------------------
>
> Key: CAMEL-6337
> URL: https://issues.apache.org/jira/browse/CAMEL-6337
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.11.0
> Reporter: Romain Manni-Bucau
>
> 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