diff --git a/artemis-boot/pom.xml b/artemis-boot/pom.xml index aa19d222da..229a1a3e53 100644 --- a/artemis-boot/pom.xml +++ b/artemis-boot/pom.xml @@ -35,10 +35,6 @@ - - com.google.errorprone - error_prone_core - junit junit diff --git a/artemis-cdi-client/pom.xml b/artemis-cdi-client/pom.xml index babf3b6a04..f5e9ce9fcd 100644 --- a/artemis-cdi-client/pom.xml +++ b/artemis-cdi-client/pom.xml @@ -47,10 +47,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-cli/pom.xml b/artemis-cli/pom.xml index 1f304a07d8..e92c2d4004 100644 --- a/artemis-cli/pom.xml +++ b/artemis-cli/pom.xml @@ -100,10 +100,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-commons/pom.xml b/artemis-commons/pom.xml index 32d08b202c..85493f1fa3 100644 --- a/artemis-commons/pom.xml +++ b/artemis-commons/pom.xml @@ -69,11 +69,6 @@ provided true - - com.google.errorprone - error_prone_core - provided - org.wildfly.common wildfly-common diff --git a/artemis-core-client/pom.xml b/artemis-core-client/pom.xml index 0759351860..5e4f95006d 100644 --- a/artemis-core-client/pom.xml +++ b/artemis-core-client/pom.xml @@ -56,10 +56,6 @@ provided true - - com.google.errorprone - error_prone_core - org.wildfly.common wildfly-common diff --git a/artemis-dto/pom.xml b/artemis-dto/pom.xml index 45e1b2b57d..940b72480b 100644 --- a/artemis-dto/pom.xml +++ b/artemis-dto/pom.xml @@ -32,10 +32,6 @@ - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-commons diff --git a/artemis-hawtio/activemq-branding/pom.xml b/artemis-hawtio/activemq-branding/pom.xml index e1419d5a9c..b7c91f27d5 100644 --- a/artemis-hawtio/activemq-branding/pom.xml +++ b/artemis-hawtio/activemq-branding/pom.xml @@ -93,11 +93,6 @@ slf4j-api provided - - com.google.errorprone - error_prone_core - - diff --git a/artemis-hawtio/artemis-plugin/pom.xml b/artemis-hawtio/artemis-plugin/pom.xml index 80878f8088..aebba1d547 100644 --- a/artemis-hawtio/artemis-plugin/pom.xml +++ b/artemis-hawtio/artemis-plugin/pom.xml @@ -91,11 +91,6 @@ slf4j-api provided - - com.google.errorprone - error_prone_core - - diff --git a/artemis-jakarta-client/pom.xml b/artemis-jakarta-client/pom.xml index 0fe90afded..dfb60e472d 100644 --- a/artemis-jakarta-client/pom.xml +++ b/artemis-jakarta-client/pom.xml @@ -39,10 +39,6 @@ provided true - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-core-client diff --git a/artemis-jakarta-ra/pom.xml b/artemis-jakarta-ra/pom.xml index be48b95cc8..8be9ecfb06 100644 --- a/artemis-jakarta-ra/pom.xml +++ b/artemis-jakarta-ra/pom.xml @@ -48,10 +48,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-jakarta-server/pom.xml b/artemis-jakarta-server/pom.xml index fbc3d31a11..09cac1c2f6 100644 --- a/artemis-jakarta-server/pom.xml +++ b/artemis-jakarta-server/pom.xml @@ -47,10 +47,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-jakarta-service-extensions/pom.xml b/artemis-jakarta-service-extensions/pom.xml index bb84d34da2..f668816aec 100644 --- a/artemis-jakarta-service-extensions/pom.xml +++ b/artemis-jakarta-service-extensions/pom.xml @@ -65,10 +65,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logmanager jboss-logmanager diff --git a/artemis-jdbc-store/pom.xml b/artemis-jdbc-store/pom.xml index 5ca637e9c5..cd74e6c740 100644 --- a/artemis-jdbc-store/pom.xml +++ b/artemis-jdbc-store/pom.xml @@ -40,10 +40,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-jms-client/pom.xml b/artemis-jms-client/pom.xml index 47d1ce83b3..206fc2460e 100644 --- a/artemis-jms-client/pom.xml +++ b/artemis-jms-client/pom.xml @@ -38,10 +38,6 @@ provided true - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-core-client diff --git a/artemis-jms-server/pom.xml b/artemis-jms-server/pom.xml index edddb8a102..05e721c55c 100644 --- a/artemis-jms-server/pom.xml +++ b/artemis-jms-server/pom.xml @@ -44,10 +44,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-journal/pom.xml b/artemis-journal/pom.xml index 96131ff479..92798de109 100644 --- a/artemis-journal/pom.xml +++ b/artemis-journal/pom.xml @@ -44,12 +44,6 @@ provided true - - com.google.errorprone - error_prone_core - provided - true - org.jboss.logging jboss-logging diff --git a/artemis-maven-plugin/pom.xml b/artemis-maven-plugin/pom.xml index 8a00362fe3..e3a4978719 100644 --- a/artemis-maven-plugin/pom.xml +++ b/artemis-maven-plugin/pom.xml @@ -78,10 +78,6 @@ 3.4 provided - - com.google.errorprone - error_prone_core - diff --git a/artemis-protocols/artemis-amqp-protocol/pom.xml b/artemis-protocols/artemis-amqp-protocol/pom.xml index 4f6120eabe..e9a87caf5b 100644 --- a/artemis-protocols/artemis-amqp-protocol/pom.xml +++ b/artemis-protocols/artemis-amqp-protocol/pom.xml @@ -59,10 +59,6 @@ provided true - - com.google.errorprone - error_prone_core - junit diff --git a/artemis-ra/pom.xml b/artemis-ra/pom.xml index 26be8a6038..1ca019aea0 100644 --- a/artemis-ra/pom.xml +++ b/artemis-ra/pom.xml @@ -44,10 +44,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-rest/pom.xml b/artemis-rest/pom.xml index 05fdfd0f5f..1bff2b13ba 100644 --- a/artemis-rest/pom.xml +++ b/artemis-rest/pom.xml @@ -48,10 +48,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml index 3f6b4d0b4f..dc4d27d067 100644 --- a/artemis-selector/pom.xml +++ b/artemis-selector/pom.xml @@ -32,10 +32,6 @@ - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-commons diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml index aadb1af9bf..dec42a0508 100644 --- a/artemis-server-osgi/pom.xml +++ b/artemis-server-osgi/pom.xml @@ -100,10 +100,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logging jboss-logging diff --git a/artemis-server/pom.xml b/artemis-server/pom.xml index 519ace3742..5e9043c12d 100644 --- a/artemis-server/pom.xml +++ b/artemis-server/pom.xml @@ -44,10 +44,6 @@ provided true - - com.google.errorprone - error_prone_core - com.google.guava guava diff --git a/artemis-service-extensions/pom.xml b/artemis-service-extensions/pom.xml index 40183c43a7..7710af6b97 100644 --- a/artemis-service-extensions/pom.xml +++ b/artemis-service-extensions/pom.xml @@ -63,10 +63,6 @@ provided true - - com.google.errorprone - error_prone_core - org.jboss.logmanager jboss-logmanager diff --git a/artemis-web/pom.xml b/artemis-web/pom.xml index e72b385300..af6bec6b3f 100644 --- a/artemis-web/pom.xml +++ b/artemis-web/pom.xml @@ -44,12 +44,6 @@ provided true - - com.google.errorprone - error_prone_core - provided - true - org.jboss.logging jboss-logging diff --git a/examples/pom.xml b/examples/pom.xml index f891f10c5a..9f4edab3aa 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -60,19 +60,6 @@ under the License. - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - - - - - diff --git a/integration/activemq-spring-integration/pom.xml b/integration/activemq-spring-integration/pom.xml index dcfc9a433a..6a2310f4e2 100644 --- a/integration/activemq-spring-integration/pom.xml +++ b/integration/activemq-spring-integration/pom.xml @@ -48,10 +48,6 @@ org.springframework spring-beans - - com.google.errorprone - error_prone_core - diff --git a/pom.xml b/pom.xml index a64e6d83df..5ca5d95b29 100644 --- a/pom.xml +++ b/pom.xml @@ -103,7 +103,7 @@ 3.4.2.Final 9.4.44.v20210927 3.6.13.Final - 2.9.0 + 2.10.0 3.0.0-M3 5.1.2 3.2.4 @@ -390,7 +390,6 @@ error_prone_core ${errorprone.version} provided - true org.springframework @@ -1008,6 +1007,12 @@ errorprone + + + com.google.errorprone + error_prone_core + + @@ -1034,6 +1039,12 @@ errorprone + + + com.google.errorprone + error_prone_core + + diff --git a/tests/artemis-test-support/pom.xml b/tests/artemis-test-support/pom.xml index 5f8973600c..a0a811d44d 100644 --- a/tests/artemis-test-support/pom.xml +++ b/tests/artemis-test-support/pom.xml @@ -89,10 +89,6 @@ org.fusesource.hawtbuf hawtbuf - - com.google.errorprone - error_prone_core - diff --git a/tests/compatibility-tests/pom.xml b/tests/compatibility-tests/pom.xml index 43c1879e4b..1b13b0ac96 100644 --- a/tests/compatibility-tests/pom.xml +++ b/tests/compatibility-tests/pom.xml @@ -32,10 +32,6 @@ - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-server diff --git a/tests/extra-tests/pom.xml b/tests/extra-tests/pom.xml index 70eac22dfa..a1f1fc5d4f 100644 --- a/tests/extra-tests/pom.xml +++ b/tests/extra-tests/pom.xml @@ -41,10 +41,6 @@ - - com.google.errorprone - error_prone_core - org.jboss.byteman byteman diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml index e937b54144..cd95d3b984 100644 --- a/tests/integration-tests/pom.xml +++ b/tests/integration-tests/pom.xml @@ -33,10 +33,6 @@ - - com.google.errorprone - error_prone_core - org.apache.activemq artemis-server diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/StorageManagerTestBase.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/StorageManagerTestBase.java index 26c637b9a8..c2d77952d0 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/StorageManagerTestBase.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/StorageManagerTestBase.java @@ -71,9 +71,10 @@ public abstract class StorageManagerTestBase extends ActiveMQTestBase { @Override @Before + @SuppressWarnings("unused") public void setUp() throws Exception { if (storeType == StoreConfiguration.StoreType.DATABASE) { - Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); + Object unused = Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); } super.setUp(); diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaRecoveryTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaRecoveryTest.java index 19c2054911..9aec571d80 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaRecoveryTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaRecoveryTest.java @@ -91,11 +91,12 @@ public class BasicXaRecoveryTest extends ActiveMQTestBase { @Override @Before + @SuppressWarnings("unused") public void setUp() throws Exception { super.setUp(); if (storeType == StoreConfiguration.StoreType.DATABASE) { - Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); + Object unused = Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); } addressSettings.clear(); diff --git a/tests/jms-tests/pom.xml b/tests/jms-tests/pom.xml index 0cfca96166..64825cc615 100644 --- a/tests/jms-tests/pom.xml +++ b/tests/jms-tests/pom.xml @@ -112,10 +112,6 @@ org.wildfly.common wildfly-common - - com.google.errorprone - error_prone_core - diff --git a/tests/joram-tests/pom.xml b/tests/joram-tests/pom.xml index 04df465d3f..59d81fc7e8 100644 --- a/tests/joram-tests/pom.xml +++ b/tests/joram-tests/pom.xml @@ -102,10 +102,6 @@ org.wildfly.common wildfly-common - - com.google.errorprone - error_prone_core -