[ 
https://issues.apache.org/jira/browse/ARTEMIS-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997581#comment-16997581
 ] 

ASF subversion and git services commented on ARTEMIS-2557:
----------------------------------------------------------

Commit eeaeba6354f9c5bbf6b95b61b378bb7fba5c176e in activemq-artemis's branch 
refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=eeaeba6 ]

ARTEMIS-2557 don't export openwire-protocol JMS spec dep


> Don't export openwire-protocol JMS spec dependency
> --------------------------------------------------
>
>                 Key: ARTEMIS-2557
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2557
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>          Components: Broker, OpenWire
>    Affects Versions: 2.10.1
>            Reporter: SL
>            Assignee: Justin Bertram
>            Priority: Minor
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> artemis-openwire-protocol has a dependency on geronimo-jms-1.1_spec
> {code:xml}
>        <dependency>
>          <groupId>org.apache.geronimo.specs</groupId>
>          <artifactId>geronimo-jms_1.1_spec</artifactId>
>          <version>1.1.1</version>
>       </dependency>
> {code}
> However other components such as artemis-jms-server have a dependency on 
> geronimo-jms_2.0_spec which carry a superset of the same interfaces, but with 
> subtle differences (such as the JMSContext in ConnectionFactory)
> If your have both components in a dependency hierarchy you may end up with a 
> classpath including both jar which can lead to a behavior that is
> a) inconsistent, since one or the other jar may have been loaded first to 
> resolve a given interface
> b) funny, if a component compiled against an interface from 2.0 try to use 
> one from 1.1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to