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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0906afdf2b Move JMH version to root pom (#2223)
0906afdf2b is described below

commit 0906afdf2b20d8f177e03f29482c11497671011d
Author: Christopher L. Shannon <[email protected]>
AuthorDate: Thu Jul 16 16:06:19 2026 -0400

    Move JMH version to root pom (#2223)
---
 activemq-unit-tests/pom.xml |  2 --
 pom.xml                     | 13 +++++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/activemq-unit-tests/pom.xml b/activemq-unit-tests/pom.xml
index 43dd95cc85..1f269eea58 100644
--- a/activemq-unit-tests/pom.xml
+++ b/activemq-unit-tests/pom.xml
@@ -283,13 +283,11 @@
     <dependency>
       <groupId>org.openjdk.jmh</groupId>
       <artifactId>jmh-core</artifactId>
-      <version>1.37</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.openjdk.jmh</groupId>
       <artifactId>jmh-generator-annprocess</artifactId>
-      <version>1.37</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/pom.xml b/pom.xml
index 9d65caac3d..680727dfc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,7 @@
     <javassist-version>3.32.0-GA</javassist-version>
     <jettison-version>1.5.6</jettison-version>
     <jolokia-version>2.6.0</jolokia-version>
+    <jmh-version>1.37</jmh-version>
     <junit-version>4.13.2</junit-version>
     <h2-version>2.4.240</h2-version>
     <hamcrest-version>1.3</hamcrest-version>
@@ -942,6 +943,18 @@
         <version>3.0.0</version>
       </dependency>
 
+      <!-- JMH for micro-benchmarks -->
+      <dependency>
+        <groupId>org.openjdk.jmh</groupId>
+        <artifactId>jmh-core</artifactId>
+        <version>${jmh-version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.openjdk.jmh</groupId>
+        <artifactId>jmh-generator-annprocess</artifactId>
+        <version>${jmh-version}</version>
+      </dependency>
+
     </dependencies>
   </dependencyManagement>
 


---------------------------------------------------------------------
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