This is an automated email from the ASF dual-hosted git repository.
jbonofre 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 3686999e7b ActiveMQ on Java until Java 24 (#1612)
3686999e7b is described below
commit 3686999e7b33a076f2a0eb78adcf3fbf11eefcaa
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Tue Jan 20 08:20:07 2026 +0100
ActiveMQ on Java until Java 24 (#1612)
---
activemq-amqp/pom.xml | 5 ++++-
pom.xml | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/activemq-amqp/pom.xml b/activemq-amqp/pom.xml
index c566877953..7aa112ebbc 100644
--- a/activemq-amqp/pom.xml
+++ b/activemq-amqp/pom.xml
@@ -31,6 +31,10 @@
<name>ActiveMQ :: AMQP</name>
<description>ActiveMQ implementaiton of AMQP messaging protocol</description>
+ <properties>
+ <surefire.argLine>-Xmx512M -Djava.awt.headless=true</surefire.argLine>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.activemq</groupId>
@@ -303,7 +307,6 @@
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
- <surefire.argLine>-Xmx512M
-Djava.awt.headless=true</surefire.argLine>
<runOrder>alphabetical</runOrder>
<forkedProcessTimeoutInSeconds>120</forkedProcessTimeoutInSeconds>
<includes>
diff --git a/pom.xml b/pom.xml
index b876f4de2d..524066904c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,9 @@
<properties>
<maven.compiler.target>17</maven.compiler.target>
+ <surefire.argLine></surefire.argLine>
+
<maven.surefire.allow.securitymanager>-Djava.security.manager=allow</maven.surefire.allow.securitymanager>
+
<siteId>activemq-${project.version}</siteId>
<projectName>Apache ActiveMQ</projectName>
<!-- base url for site deployment. See distribution management for full
url. Override this in settings.xml for staging -->
@@ -974,7 +977,7 @@
<java.awt.headless>true</java.awt.headless>
<org.apache.activemq.kahaDB.files.skipMetadataUpdate>true</org.apache.activemq.kahaDB.files.skipMetadataUpdate>
</systemPropertyVariables>
- <argLine>-enableassertions</argLine>
+ <argLine>-enableassertions ${surefire.argLine}
${maven.surefire.allow.securitymanager}</argLine>
</configuration>
</plugin>
<plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact