From 5f72c35b3b67be55759f641e8a464bb598a23c08 Mon Sep 17 00:00:00 2001 From: Matt Pavlovich Date: Thu, 28 Sep 2023 11:53:53 -0500 Subject: [PATCH] [AMQ-9310] Remove solaris support --- activemq-amqp/pom.xml | 23 ------ activemq-kahadb-store/pom.xml | 22 ------ activemq-stomp/pom.xml | 21 ------ activemq-unit-tests/pom.xml | 30 -------- assembly/src/release/bin/activemq | 11 --- .../src/release/bin/linux-x86-64/activemq | 3 - assembly/src/release/bin/macosx/activemq | 6 -- assembly/src/release/bin/solaris/activemq.xml | 74 ------------------- 8 files changed, 190 deletions(-) delete mode 100644 assembly/src/release/bin/solaris/activemq.xml diff --git a/activemq-amqp/pom.xml b/activemq-amqp/pom.xml index 9285330f3d..220dfd8bea 100644 --- a/activemq-amqp/pom.xml +++ b/activemq-amqp/pom.xml @@ -309,29 +309,6 @@ - - activemq.tests.solaris.excludes - - - os.name - SunOS - - - - - - maven-surefire-plugin - - - **/JoramJmsTest.* - **/JMSClientSslTest.* - **/JMSClientNioTest.* - - - - - - diff --git a/activemq-kahadb-store/pom.xml b/activemq-kahadb-store/pom.xml index 5579192846..d77ee98293 100644 --- a/activemq-kahadb-store/pom.xml +++ b/activemq-kahadb-store/pom.xml @@ -291,27 +291,5 @@ - - activemq.tests.solaris.excludes - - - os.name - SunOS - - - - - - maven-surefire-plugin - - - **/PListImplTest.* - **/BTreeIndexTest.* - - - - - - diff --git a/activemq-stomp/pom.xml b/activemq-stomp/pom.xml index 4bbc5554d1..cc3d14c0ef 100644 --- a/activemq-stomp/pom.xml +++ b/activemq-stomp/pom.xml @@ -213,27 +213,6 @@ - - activemq.tests.solaris.excludes - - - os.name - SunOS - - - - - - maven-surefire-plugin - - - *NIO*/*.* - - - - - - activemq.tests.aix.excludes diff --git a/activemq-unit-tests/pom.xml b/activemq-unit-tests/pom.xml index fd742a7d78..dc32757bac 100644 --- a/activemq-unit-tests/pom.xml +++ b/activemq-unit-tests/pom.xml @@ -1131,36 +1131,6 @@ - - activemq.tests.solaris.excludes - - - os.name - SunOS - - - - - - maven-surefire-plugin - - - **/QueueMasterSlaveSingleUrlTest.* - **/AMQ2149Test.* - **/AMQ2584Test.* - **/ExpiredMessagesTest.* - **/ManagedDurableSubscriptionTest.* - **/ThreeBrokerVirtualTopicNetworkAMQPATest.* - - **/perf/* - - **/load/* - - - - - - activemq.tests.hpux.excludes diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index d1b32c287f..0e2036f710 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -55,10 +55,6 @@ EXEC_OPTION="" # a simple helper to get the current user setCurrentUser(){ CUSER="`whoami 2>/dev/null`" - # Solaris hack - if [ ! $? -eq 0 ]; then - CUSER="`/usr/ucb/whoami 2>/dev/null`" - fi } # get a canonical path, macosx and slowlaris does not support radlink -f :-) @@ -333,13 +329,6 @@ invokeJar(){ # Get Java version # Use in priority xpg4 awk or nawk on SunOS as standard awk is outdated AWK=awk - if ${solaris}; then - if [ -x /usr/xpg4/bin/awk ]; then - AWK=/usr/xpg4/bin/awk - elif [ -x /usr/bin/nawk ]; then - AWK=/usr/bin/nawk - fi - fi VERSION=`"${JAVACMD}" -version 2>&1 | ${AWK} -F '"' '/version/ {print $2}' | sed -e 's/_.*//g; s/^1\.//g; s/\..*//g; s/-.*//g;'` # Execute java binary diff --git a/assembly/src/release/bin/linux-x86-64/activemq b/assembly/src/release/bin/linux-x86-64/activemq index 24d7d9af99..77e4345a6e 100644 --- a/assembly/src/release/bin/linux-x86-64/activemq +++ b/assembly/src/release/bin/linux-x86-64/activemq @@ -161,9 +161,6 @@ fi # Resolve the os DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` case "$DIST_OS" in - 'sunos') - DIST_OS="solaris" - ;; 'hp-ux' | 'hp-ux64') DIST_OS="hpux" ;; diff --git a/assembly/src/release/bin/macosx/activemq b/assembly/src/release/bin/macosx/activemq index f80d6b6b73..5603a8e13e 100644 --- a/assembly/src/release/bin/macosx/activemq +++ b/assembly/src/release/bin/macosx/activemq @@ -155,9 +155,6 @@ fi # Resolve the os DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` case "$DIST_OS" in - 'sunos') - DIST_OS="solaris" - ;; 'hp-ux' | 'hp-ux64') DIST_OS="hpux" ;; @@ -188,9 +185,6 @@ case "$DIST_ARCH" in 'pa_risc' | 'pa-risc') DIST_ARCH="parisc" ;; - 'sun4u' | 'sparcv9') - DIST_ARCH="sparc" - ;; '9000/800') DIST_ARCH="parisc" ;; diff --git a/assembly/src/release/bin/solaris/activemq.xml b/assembly/src/release/bin/solaris/activemq.xml deleted file mode 100644 index 0c776a9c20..0000000000 --- a/assembly/src/release/bin/solaris/activemq.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file