You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Greg Turnquist (Jira)" <ji...@apache.org> on 2023/05/10 18:54:00 UTC
[jira] [Commented] (ARTEMIS-3549) Mixed versioning of logger utitlies
[ https://issues.apache.org/jira/browse/ARTEMIS-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721514#comment-17721514 ]
Greg Turnquist commented on ARTEMIS-3549:
-----------------------------------------
In light of [https://github.com/apache/activemq-artemis/blob/main/pom.xml#L84,] is this ticket no longer relevant?
> Mixed versioning of logger utitlies
> -----------------------------------
>
> Key: ARTEMIS-3549
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3549
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: ActiveMQ-Artemis-Native
> Affects Versions: 2.19.0
> Reporter: Greg Turnquist
> Assignee: Clebert Suconic
> Priority: Minor
>
> While building Spring Web Services against Artemis Jakarta JMS 2.19.0, I ran into a conflict of JBoss Logger versions between various components of Artemis.
> Clause added to my pom.xml:
> {code:java}
> <dependency>
> <groupId>org.apache.activemq</groupId>
> <artifactId>artemis-jakarta-server</artifactId>
> <version>2.19.0</version>
> <scope>test</scope>
> <exclusions>
> <exclusion> <!-- Use version provided by Jakarta EE 9 POM -->
> <groupId>jakarta.jms</groupId>
> <artifactId>jakarta.jms-api</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> {code}
> This resulted in two different versions of JBoss Logger getting pulled in via various transitive dependencies:
> {code}
> +-org.springframework.ws:spring-ws-support:4.0.0-SNAPSHOT
> +-org.apache.activemq:artemis-jakarta-server:2.19.0
> +-org.apache.activemq:artemis-server:2.19.0
> +-org.apache.activemq:artemis-jdbc-store:2.19.0
> +-org.jboss.logging:jboss-logging:3.4.2.Final
> and
> +-org.springframework.ws:spring-ws-support:4.0.0-SNAPSHOT
> +-org.apache.activemq:artemis-jakarta-server:2.19.0
> +-org.apache.activemq:artemis-server:2.19.0
> +-org.apache.activemq:activemq-artemis-native:1.0.2
> +-org.jboss.logging:jboss-logging:3.3.1.Final
> {code}
> Since I only have a single dependency, there is no way to exclude something in a given transitive, thus my only choice is to disable maven-enforcer-plugin's dependency convergence check.
> If the ActiveMQ Artemis Native module could be aligned to work with the same version of JBoss Logging as all the other modules, that would make it possible to avoid this mismatch of versions.
> NOTE: If you happen to use Maven, applying maven-enforcer-plugin to your own base may simplify spotting such errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)