From 20d7e27df3a056e7dedca9bdf14961e5503abadf Mon Sep 17 00:00:00 2001 From: Inthirakumaaran Date: Mon, 3 Jun 2024 21:35:50 +0530 Subject: [PATCH] Improve dependencies definition. --- .../tests-integration/tests-backend/pom.xml | 140 +++++------------- .../test/cache/JMSCacheSyncTestCase.java | 2 +- 2 files changed, 40 insertions(+), 102 deletions(-) diff --git a/modules/integration/tests-integration/tests-backend/pom.xml b/modules/integration/tests-integration/tests-backend/pom.xml index 65d9dc1ac79..39c0eca8799 100644 --- a/modules/integration/tests-integration/tests-backend/pom.xml +++ b/modules/integration/tests-integration/tests-backend/pom.xml @@ -46,7 +46,7 @@ false 2.22.1 - + -Xmx1024m -Dorg.apache.jasper.compiler.disablejsr199=true --add-opens=java.base/java.lang=ALL-UNNAMED @@ -203,13 +203,6 @@ - - 11 - 5.16.3 - 1.7.32 - 1.2.6 - - @@ -417,18 +410,18 @@ org.wso2.carbon.cache.sync.manager org.wso2.carbon.cache.sync.jms.manager - 2.0.14-SNAPSHOT + ${cache.sync.jms.manager.version} jar false ${basedir}/target/test-classes/samples/cache - org.wso2.carbon.cache.sync.jms.manager-2.0.14-SNAPSHOT.jar + org.wso2.carbon.cache.sync.jms.manager-2.0.14.jar org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec - 1.0.1 + ${geronimo-j2ee-management_1.1_spec.version} jar false @@ -439,7 +432,7 @@ org.apache.activemq activemq-broker - 5.16.3 + ${activemq.version} jar false @@ -450,7 +443,7 @@ org.apache.activemq activemq-client - 5.16.3 + ${activemq.version} jar false @@ -461,7 +454,7 @@ org.apache.geronimo.specs geronimo-jms_1.1_spec - 1.1.1 + ${geronimo-jms_1.1_spec.version} jar false @@ -472,7 +465,7 @@ org.fusesource.hawtbuf hawtbuf - 1.11 + ${hawtbuf.version} jar false @@ -483,7 +476,7 @@ org.slf4j slf4j-api - 1.7.31 + ${slf4j-api-server.version} jar false @@ -494,7 +487,7 @@ org.wso2.orbit.javax.jms jms-api - 2.0.1.wso2v1 + ${jms-api.version} jar false @@ -730,18 +723,13 @@ org.apache.activemq activemq-all - 5.16.3 + ${activemq.version} compile - - javax.jms - javax.jms-api - 2.0.1 - org.apache.activemq activemq-core - 5.7.0 + ${old-activemq-core.version} compile @@ -755,15 +743,6 @@ slf4j-api ${slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - org.slf4j log4j-over-slf4j @@ -800,11 +779,6 @@ org.apache.httpcomponents httpclient - - javax.jms - javax.jms-api - 2.0.1 - io.rest-assured rest-assured @@ -1102,22 +1076,22 @@ org.wso2.carbon.cache.sync.manager org.wso2.carbon.cache.sync.jms.manager - 2.0.14-SNAPSHOT + ${cache.sync.jms.manager.version} org.apache.activemq activemq-broker - 5.16.3 + ${activemq.version} org.apache.activemq activemq-client - 5.16.3 + ${activemq.version} org.apache.activemq activemq-all - 5.16.3 + ${activemq.version} log4j @@ -1129,102 +1103,51 @@ - - org.apache.activemq - activemq-core - 5.7.0 - - - org.apache.activemq - activemq-core - - - org.slf4j slf4j-api ${slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - - - - - - - - - - junit - junit - 4.13.2 - test - org.apache.logging.log4j log4j-core - 2.17.1 + ${logging.log4j.version} org.apache.logging.log4j log4j-api - 2.17.1 + ${logging.log4j.version} org.apache.logging.log4j log4j-slf4j-impl - 2.17.1 - - - - - - - - - - javax - javaee-api - 8.0 - provided + ${logging.log4j.version} org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec - 1.0.1 + ${geronimo-j2ee-management_1.1_spec.version} org.apache.geronimo.specs geronimo-jms_1.1_spec - 1.1.1 + ${geronimo-jms_1.1_spec.version} org.fusesource.hawtbuf hawtbuf - 1.11 + ${hawtbuf.version} org.slf4j slf4j-api - 1.7.31 + ${slf4j-api-server.version} org.wso2.orbit.javax.jms jms-api - 2.0.1.wso2v1 + ${jms-api.version} - - - - - org.wso2.samples.is org.wso2.carbon.identity.sample.extension.authenticators @@ -1352,4 +1275,19 @@ test + + + 11 + 5.16.3 + 1.7.32 + 1.2.6 + 1.1.1 + 1.0.1 + 1.11 + 1.7.31 + 2.0.1.wso2v1 + 2.0.14 + 2.17.1 + 5.7.0 + diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/cache/JMSCacheSyncTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/cache/JMSCacheSyncTestCase.java index 3044f25cc14..fff955e8777 100755 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/cache/JMSCacheSyncTestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/cache/JMSCacheSyncTestCase.java @@ -65,7 +65,7 @@ public class JMSCacheSyncTestCase extends SelfRegisterTestBase { private static final String RECEIVED_MESSAGE = "Received cache invalidation message from other cluster nodes"; private static final String SENT_MESSAGE = "Sending cache invalidation message to other cluster nodes"; public static final String CACHE_SYNC_JMS_MANAGER_JAR = - "org.wso2.carbon.cache.sync.jms.manager-2.0.14-SNAPSHOT.jar"; + "org.wso2.carbon.cache.sync.jms.manager-2.0.14.jar"; public static final String JMS_API_JAR = "jms-api_2-2.0.1.wso2v1.jar"; private static Connection connection;