Bruno Borges created AMQ-3888:
---------------------------------

             Summary: Better Maven dependency for some specs
                 Key: AMQ-3888
                 URL: https://issues.apache.org/jira/browse/AMQ-3888
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.6.0
            Reporter: Bruno Borges


It seems that, to have ActiveMQ component for Camel run fine on a JBoss 
instance, I had to add all these dependencies as 'provided' to avoid specs 
artifacts falling on my WEB-INF/lib.

Would be nice to have this fixed on the next release of ActiveMQ

<!-- ActiveMQ dependencies -->
                <dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-camel</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-pool</artifactId>
                </dependency>

<!-- ActiveMQ provided dependencies -->
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
                        <version>1.0.1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-jms_1.1_spec</artifactId>
                        <version>1.1.1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        
<artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
                        <version>1.0.1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.inject</groupId>
                        <artifactId>javax.inject</artifactId>
                        <version>1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.mortbay.jetty</groupId>
                        <artifactId>jsp-api-2.1</artifactId>
                        <version>6.1.4</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.mortbay.jetty</groupId>
                        <artifactId>jsp-2.1</artifactId>
                        <version>6.1.4</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.annotation</groupId>
                        <artifactId>jsr250-api</artifactId>
                        <version>1.0</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>com.google.code.findbugs</groupId>
                        <artifactId>jsr305</artifactId>
                        <version>1.3.9</version>
                        <scope>provided</scope>
                </dependency>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to