This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new fd6c6e3ddb ARTEMIS-5292: reintroduce test dependency to fix 'mvn test' 
usage
fd6c6e3ddb is described below

commit fd6c6e3ddb49975d12bd87d56c3ac6ab22bd8f41
Author: Robbie Gemmell <[email protected]>
AuthorDate: Wed Feb 19 12:48:17 2025 +0000

    ARTEMIS-5292: reintroduce test dependency to fix 'mvn test' usage
    
    It was removed in a6cb1b283baf5750313e8e64924c1f6368067e44 but is actually 
needed.
---
 artemis-cdi-client/pom.xml         | 15 +++++++++++++++
 artemis-jakarta-cdi-client/pom.xml | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/artemis-cdi-client/pom.xml b/artemis-cdi-client/pom.xml
index b9965cff4b..ea9408d05c 100644
--- a/artemis-cdi-client/pom.xml
+++ b/artemis-cdi-client/pom.xml
@@ -109,6 +109,21 @@
          <version>${project.version}</version>
          <scope>test</scope>
       </dependency>
+
+      <!-- The johnzon-core and json-api contents are repackaged in -commons,
+           However maven can still need them during tests, which run against
+           the original -commons classes when built+run in the same reactor,
+           and not the jar containing the shaded bits. -->
+      <dependency>
+         <groupId>org.apache.johnzon</groupId>
+         <artifactId>johnzon-core</artifactId>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>jakarta.json</groupId>
+         <artifactId>jakarta.json-api</artifactId>
+         <scope>test</scope>
+      </dependency>
    </dependencies>
 
    <build>
diff --git a/artemis-jakarta-cdi-client/pom.xml 
b/artemis-jakarta-cdi-client/pom.xml
index e115046317..2f870d113d 100644
--- a/artemis-jakarta-cdi-client/pom.xml
+++ b/artemis-jakarta-cdi-client/pom.xml
@@ -123,6 +123,21 @@
          <version>${project.version}</version>
          <scope>test</scope>
       </dependency>
+
+      <!-- The johnzon-core and json-api contents are repackaged in -commons,
+           However maven can still need them during tests, which run against
+           the original -commons classes when built+run in the same reactor,
+           and not the jar containing the shaded bits. -->
+      <dependency>
+         <groupId>org.apache.johnzon</groupId>
+         <artifactId>johnzon-core</artifactId>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>jakarta.json</groupId>
+         <artifactId>jakarta.json-api</artifactId>
+         <scope>test</scope>
+      </dependency>
    </dependencies>
 
    <build>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to