From d274ea78379d612c86231f06319992797a554eb1 Mon Sep 17 00:00:00 2001 From: Christian Ortlepp Date: Sat, 22 Mar 2025 13:06:17 +0100 Subject: [PATCH 1/4] refactor: migrate systemProperties to systemPropertyVariables --- modules/clustering/pom.xml | 14 +++------ modules/fastinfoset/pom.xml | 9 ++---- modules/integration/pom.xml | 19 +++--------- modules/jaxws-integration/pom.xml | 44 ++++++-------------------- modules/jaxws/pom.xml | 51 ++++++++----------------------- modules/metadata/pom.xml | 9 ++---- modules/saaj/pom.xml | 9 ++---- pom.xml | 28 +++++------------ 8 files changed, 49 insertions(+), 134 deletions(-) diff --git a/modules/clustering/pom.xml b/modules/clustering/pom.xml index ff67711027..d05d76b36a 100644 --- a/modules/clustering/pom.xml +++ b/modules/clustering/pom.xml @@ -125,16 +125,10 @@ maven-surefire-plugin true - - - maven.test.haltafterfailure - false - - - run.clustering.tests - ${run.clustering.tests} - - + + false + ${run.clustering.tests} + **/UpdateStateTest.java **/ConfigurationManagerTest.java diff --git a/modules/fastinfoset/pom.xml b/modules/fastinfoset/pom.xml index f4fb63e928..99b68a9dac 100644 --- a/modules/fastinfoset/pom.xml +++ b/modules/fastinfoset/pom.xml @@ -259,12 +259,9 @@ **/*Test.java - - - build.repository - ./target/test-classes - - + + ./target/test-classes + diff --git a/modules/integration/pom.xml b/modules/integration/pom.xml index a983cc56b9..1cc83e66c5 100644 --- a/modules/integration/pom.xml +++ b/modules/integration/pom.xml @@ -578,21 +578,12 @@ **/ComplexDataTypesDocLitBareTest.java **/ComplexDataTypesTest.java - - - build.repository - ./target/test-classes - + + ./target/test-classes - - java.awt.headless - true - - - org.apache.axis2.transport.http.server.fastShutdown - true - - + true + true + diff --git a/modules/jaxws-integration/pom.xml b/modules/jaxws-integration/pom.xml index bf1dc19826..6b2b9b74c1 100644 --- a/modules/jaxws-integration/pom.xml +++ b/modules/jaxws-integration/pom.xml @@ -1387,41 +1387,17 @@ **/*Test.java **/*Tests.java - - - javax.xml.accessExternalSchema - all - - - OASISCatalogManager.catalog.debug.level - 0 - - - jakarta.xml.soap.MessageFactory - org.apache.axis2.saaj.MessageFactoryImpl - - - jakarta.xml.soap.SOAPFactory - org.apache.axis2.saaj.SOAPFactoryImpl - - - jakarta.xml.soap.SOAPConnectionFactory - org.apache.axis2.saaj.SOAPConnectionFactoryImpl - - - jakarta.xml.soap.MetaFactory - org.apache.axis2.saaj.SAAJMetaFactoryImpl - + + all + 0 + org.apache.axis2.saaj.MessageFactoryImpl + org.apache.axis2.saaj.SOAPFactoryImpl + org.apache.axis2.saaj.SOAPConnectionFactoryImpl + org.apache.axis2.saaj.SAAJMetaFactoryImpl - - java.awt.headless - true - - - org.apache.axis2.transport.http.server.fastShutdown - true - - + true + true + diff --git a/modules/jaxws/pom.xml b/modules/jaxws/pom.xml index c274fe6aaa..252b8da24f 100644 --- a/modules/jaxws/pom.xml +++ b/modules/jaxws/pom.xml @@ -350,46 +350,21 @@ **/*Test.java **/*Tests.java - - - - build.repository - ./target/test-classes - - - jakarta.xml.soap.MessageFactory - org.apache.axis2.saaj.MessageFactoryImpl - - - jakarta.xml.soap.SOAPFactory - org.apache.axis2.saaj.SOAPFactoryImpl - - - jakarta.xml.soap.SOAPConnectionFactory - org.apache.axis2.saaj.SOAPConnectionFactoryImpl - - - jakarta.xml.soap.MetaFactory - org.apache.axis2.saaj.SAAJMetaFactoryImpl - + + + ./target/test-classes + org.apache.axis2.saaj.MessageFactoryImpl + org.apache.axis2.saaj.SOAPFactoryImpl + org.apache.axis2.saaj.SOAPConnectionFactoryImpl + org.apache.axis2.saaj.SAAJMetaFactoryImpl - - org.apache.axis2.jaxws.config.path - ./target/test-classes/axis2.xml - - - org.apache.axis2.jaxws.repo.path - ./target/repository - + ./target/test-classes/axis2.xml + ./target/repository - - java.awt.headless - true - - + true + diff --git a/modules/metadata/pom.xml b/modules/metadata/pom.xml index 11df978e8d..ad2b09b08d 100755 --- a/modules/metadata/pom.xml +++ b/modules/metadata/pom.xml @@ -222,12 +222,9 @@ **/*Tests.java - - - org.apache.axis2.jaxws.repo.path - ./target/repository - - + + ./target/repository + diff --git a/modules/saaj/pom.xml b/modules/saaj/pom.xml index 5d8fa6238a..f86c1f9a1f 100644 --- a/modules/saaj/pom.xml +++ b/modules/saaj/pom.xml @@ -196,13 +196,10 @@ * Please leave this on a single line. Adding a newline between the two options causes a build failure. --> ${argLine} -Dcom.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration=com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration - + - - java.awt.headless - true - - + true + diff --git a/pom.xml b/pom.xml index 2f6e0e178b..d4aa926662 100644 --- a/pom.xml +++ b/pom.xml @@ -1373,32 +1373,20 @@ alphabetical true false - - - java.io.tmpdir - ${project.build.directory}/tmp - - - user.home - ${project.build.directory}/tmp - - + + ${project.build.directory}/tmp + ${project.build.directory}/tmp + maven-failsafe-plugin true - - - java.io.tmpdir - ${project.build.directory}/tmp - - - user.home - ${project.build.directory}/tmp - - + + ${project.build.directory}/tmp + ${project.build.directory}/tmp + From 8cf76befded5886e44c4b788aa1c85609a7baa3e Mon Sep 17 00:00:00 2001 From: Christian Ortlepp Date: Sat, 22 Mar 2025 13:48:53 +0100 Subject: [PATCH 2/4] refactor: remove unused configuration property forkMode --- modules/jaxbri-codegen/pom.xml | 1 - modules/jaxws/pom.xml | 1 - modules/saaj/pom.xml | 1 - 3 files changed, 3 deletions(-) diff --git a/modules/jaxbri-codegen/pom.xml b/modules/jaxbri-codegen/pom.xml index eb626431b2..0370d8f223 100644 --- a/modules/jaxbri-codegen/pom.xml +++ b/modules/jaxbri-codegen/pom.xml @@ -175,7 +175,6 @@ maven-surefire-plugin true - once **/*Test.java diff --git a/modules/jaxws/pom.xml b/modules/jaxws/pom.xml index 252b8da24f..25206ab667 100644 --- a/modules/jaxws/pom.xml +++ b/modules/jaxws/pom.xml @@ -342,7 +342,6 @@ maven-surefire-plugin true - once ${argLine} -Xms256m -Xmx512m --add-opens java.base/java.net=ALL-UNNAMED diff --git a/modules/saaj/pom.xml b/modules/saaj/pom.xml index f86c1f9a1f..f56421b73a 100644 --- a/modules/saaj/pom.xml +++ b/modules/saaj/pom.xml @@ -189,7 +189,6 @@ **/*Test.java - once