You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/05/07 09:37:15 UTC

[jira] [Created] (CAMEL-6337) camel-cdi dependencies are wrong for most cases

Romain Manni-Bucau created CAMEL-6337:
-----------------------------------------

             Summary: 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