diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 15ccc2a094..89fdf32621 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- java: [ 8, 11, 14 ]
+ java: [ 8, 11, 16 ]
steps:
- uses: actions/checkout@v2
@@ -31,7 +31,7 @@ jobs:
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
- name: Build Main
run: |
- mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Djdk8-errorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh install
+ mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Derrorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh install
- name: Build Examples (JDK8 / -Prelease)
if: matrix.java == '8'
diff --git a/.travis.yml b/.travis.yml
index 4e75a74c18..86b2253fa9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ matrix:
env:
- EXAMPLES_PROFILE="noRun"
- os: linux
- jdk: openjdk14
+ jdk: openjdk16
env:
- EXAMPLES_PROFILE="noRun"
@@ -24,7 +24,7 @@ before_install:
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
script:
- set -e
-- mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Djdk8-errorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install -q
+- mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Derrorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install -q
- cd examples
- mvn install -P${EXAMPLES_PROFILE} -B -q
diff --git a/artemis-cdi-client/pom.xml b/artemis-cdi-client/pom.xml
index 4d9cfa9535..45fde012a9 100644
--- a/artemis-cdi-client/pom.xml
+++ b/artemis-cdi-client/pom.xml
@@ -159,5 +159,23 @@
+
+
+ jdk16on
+
+ [16,)
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ true
+
+
+
+
+
diff --git a/artemis-distribution/pom.xml b/artemis-distribution/pom.xml
index 40f857fc0b..76c6362081 100644
--- a/artemis-distribution/pom.xml
+++ b/artemis-distribution/pom.xml
@@ -263,12 +263,13 @@
maven-assembly-plugin
- ${maven.assembly.plugin.version}
source
- src/main/assembly/source-assembly.xml
+
+ src/main/assembly/source-assembly.xml
+
gnu
package
@@ -279,7 +280,9 @@
bin
- src/main/assembly/dep.xml
+
+ src/main/assembly/dep.xml
+
gnu
package
diff --git a/pom.xml b/pom.xml
index 55bf706af3..c23507d4a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
org.apache
apache
- 18
+ 23
org.apache:apache
@@ -95,8 +95,10 @@
3.4.0.Final
9.4.40.v20210413
3.6.13.Final
- 2.4
- 3.3.3
+ 2.6.0
+ 3.0.0-M3
+ 5.1.2
+ 3.9.0
2.1.2
4.1.63.Final
@@ -130,11 +132,11 @@
1.7.0
1.1.11.Final
2.9.0
- 0.7.9
- 0.7.9
- 2.4
+ 0.8.6
+ 0.8.6
1.6.3
2.1
+ 4.13.2
2.22.2
2.3.3
1.2.5
@@ -199,7 +201,7 @@
true
true
- 2.0.0.AM26
+ 2.0.0.AM25
2.0.0-M1
linux-x86_64
@@ -267,10 +269,9 @@
junit
junit
- 4.11
+ ${junit.version}
test
-
org.easymock
@@ -280,7 +281,7 @@
-
+
org.eclipse.paho
org.eclipse.paho.client.mqttv3
${paho.client.mqttv3.version}
@@ -351,7 +352,7 @@
com.google.errorprone
error_prone_core
- 2.4.0
+ ${errorprone.version}
provided
true
@@ -907,7 +908,7 @@
1.8
- jdk8-errorprone
+ errorprone
@@ -937,6 +938,12 @@
11
--add-modules java.sql,jdk.unsupported
+
+
+ jdk11to15-errorprone
+
+ [11,16)
+
@@ -954,6 +961,44 @@
+
+ jdk16-errorprone
+
+
+
+ 16
+
+ errorprone
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ true
+
+ -Xdiags:verbose
+ --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
+ -XDcompilePolicy=simple
+ -Xplugin:ErrorProne -Xep:MissingOverride:WARN -Xep:NonAtomicVolatileUpdate:ERROR -Xep:SynchronizeOnNonFinalField:ERROR -Xep:StaticQualifiedUsingExpression:ERROR -Xep:WaitNotInLoop:ERROR -XepExcludedPaths:.*/generated-sources/.*
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
+ -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+ -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
+ -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
+
+
+
+
+
+
owasp
@@ -1029,7 +1074,6 @@
org.apache.maven.plugins
maven-enforcer-plugin
- 1.4
enforce-java
@@ -1391,7 +1435,7 @@
org.apache.maven.plugins
maven-enforcer-plugin
- 1.4.1
+ ${maven.enforcer.plugin.version}
enforce-maven
@@ -1424,41 +1468,20 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.8.1
true
-
- org.apache.maven.plugins
- maven-clean-plugin
- 2.5
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 3.0.1
-
org.apache.maven.plugins
maven-rar-plugin
2.3
-
- org.apache.maven.plugins
- maven-jar-plugin
- ${version.maven.jar.plugin}
-
net.sf.maven-sar
maven-sar-plugin
1.0
-
- org.apache.maven.plugins
- maven-site-plugin
- 3.3
-
org.apache.maven.plugins
maven-shade-plugin
@@ -1469,11 +1492,6 @@
jetty-maven-plugin
${jetty.version}
-
- org.apache.maven.plugins
- maven-deploy-plugin
- 2.7
-
org.wildfly.extras.batavia
transformer-tools-mvn
@@ -1484,7 +1502,6 @@
true
org.apache.maven.plugins
maven-source-plugin
- 2.2.1
attach-sources
@@ -1513,7 +1530,6 @@
org.apache.maven.plugins
maven-install-plugin
- 2.4
true
@@ -1549,11 +1565,6 @@
-
- org.apache.maven.plugins
- maven-resources-plugin
- 2.6
-
org.apache.activemq
@@ -1572,7 +1583,6 @@
org.apache.maven.plugins
maven-enforcer-plugin
- 1.4
enforce-java
@@ -1659,7 +1669,6 @@
org.apache.rat
apache-rat-plugin
- 0.12
${activemq.basedir}/ratReport.txt
${skipLicenseCheck}
@@ -1700,6 +1709,7 @@
**/*.data
**/*.bin
**/src/test/resources/keystore
+ **/src/test/java/org/apache/activemq/security/*.ts
**/*.log
**/*.redo
@@ -1741,7 +1751,7 @@
org.apache.felix
maven-bundle-plugin
- 4.2.1
+ ${maven.bundle.plugin.version}
true
@@ -1768,7 +1778,6 @@
org.apache.maven.plugins
maven-dependency-plugin
- 3.1.1
copy
diff --git a/tests/compatibility-tests/pom.xml b/tests/compatibility-tests/pom.xml
index b25779b90a..f4c79b473a 100644
--- a/tests/compatibility-tests/pom.xml
+++ b/tests/compatibility-tests/pom.xml
@@ -732,5 +732,25 @@
+
+
+
+ jdk16on
+
+ [16,)
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ true
+
+
+
+
+
+
diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml
index 16a2fb4d98..5618d76382 100644
--- a/tests/integration-tests/pom.xml
+++ b/tests/integration-tests/pom.xml
@@ -29,6 +29,7 @@
${project.basedir}/../..
+
@@ -481,7 +482,9 @@
single
- src/test/resources/rest/bwlist-rest-test-asm.xml
+
+ src/test/resources/rest/bwlist-rest-test-asm.xml
+
rest-test-bwlist
false
target/test-classes/rest/
@@ -494,7 +497,9 @@
single
- src/test/resources/rest/rest-test-asm.xml
+
+ src/test/resources/rest/rest-test-asm.xml
+
rest-test
false
target/test-classes/rest/
@@ -523,7 +528,7 @@
**/ReplicatedJMSFailoverTest.java
org.apache.activemq/tests/util/*.java
- -Djgroups.bind_addr=::1 ${activemq-surefire-argline} -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf"
+ -Djgroups.bind_addr=::1 ${activemq-surefire-argline} ${its-surefire-extra-args} -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf"
@@ -550,5 +555,16 @@
+
+
+ jdk16on
+
+ [16,)
+
+
+ --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
+
+
+