You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruno Borges (JIRA)" <ji...@apache.org> on 2012/06/19 01:32:42 UTC

[jira] [Created] (AMQ-3888) Better Maven dependency for some specs

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

        

[jira] [Commented] (AMQ-3888) Better Maven dependency for some specs

Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447001#comment-13447001 ] 

Bruno Borges commented on AMQ-3888:
-----------------------------------

Can't that be another artifact? Something like activemq-jee-specs ?

It's better to add one dependency (to run on Tomcat; which would conflict anyway with the jetty dependnecy today) than having to exclude 8 artifacts or define them one by one with 'provided' scope.


                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3888) Better Maven dependency for some specs

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446740#comment-13446740 ] 

Claus Ibsen commented on AMQ-3888:
----------------------------------

Hmm this is always a problem. If you use AMQ in Apache Tomcat, then you need the specs.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira