This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 8661cec  ARTEMIS-3655: isolate the errorprone dependencies to its 
profiles, enable everywhere, fix related problems, and update to 2.10.
8661cec is described below

commit 8661cecb8fa2bd98dba7d789adbd44641231da10
Author: Robbie Gemmell <[email protected]>
AuthorDate: Wed Jan 26 16:32:34 2022 +0000

    ARTEMIS-3655: isolate the errorprone dependencies to its profiles, enable 
everywhere, fix related problems, and update to 2.10.
---
 artemis-boot/pom.xml                                      |  4 ----
 artemis-cdi-client/pom.xml                                |  4 ----
 artemis-cli/pom.xml                                       |  4 ----
 artemis-commons/pom.xml                                   |  5 -----
 artemis-core-client/pom.xml                               |  4 ----
 artemis-dto/pom.xml                                       |  4 ----
 artemis-hawtio/activemq-branding/pom.xml                  |  5 -----
 artemis-hawtio/artemis-plugin/pom.xml                     |  5 -----
 artemis-jakarta-client/pom.xml                            |  4 ----
 artemis-jakarta-ra/pom.xml                                |  4 ----
 artemis-jakarta-server/pom.xml                            |  4 ----
 artemis-jakarta-service-extensions/pom.xml                |  4 ----
 artemis-jdbc-store/pom.xml                                |  4 ----
 artemis-jms-client/pom.xml                                |  4 ----
 artemis-jms-server/pom.xml                                |  4 ----
 artemis-journal/pom.xml                                   |  6 ------
 artemis-junit/pom.xml                                     |  6 ------
 artemis-maven-plugin/pom.xml                              |  4 ----
 artemis-protocols/artemis-amqp-protocol/pom.xml           |  4 ----
 artemis-protocols/artemis-hornetq-protocol/pom.xml        |  4 ----
 artemis-protocols/artemis-hqclient-protocol/pom.xml       |  4 ----
 artemis-protocols/artemis-mqtt-protocol/pom.xml           |  4 ----
 artemis-protocols/artemis-openwire-protocol/pom.xml       |  4 ----
 artemis-protocols/artemis-stomp-protocol/pom.xml          |  4 ----
 artemis-quorum-api/pom.xml                                |  8 +-------
 artemis-quorum-ri/pom.xml                                 |  5 +----
 artemis-ra/pom.xml                                        |  4 ----
 artemis-rest/pom.xml                                      |  4 ----
 artemis-selector/pom.xml                                  |  4 ----
 artemis-server-osgi/pom.xml                               |  4 ----
 artemis-server/pom.xml                                    |  4 ----
 artemis-service-extensions/pom.xml                        |  4 ----
 artemis-web/pom.xml                                       |  6 ------
 examples/pom.xml                                          | 13 -------------
 integration/activemq-spring-integration/pom.xml           |  4 ----
 pom.xml                                                   | 15 +++++++++++++--
 tests/artemis-test-support/pom.xml                        |  4 ----
 tests/compatibility-tests/pom.xml                         |  4 ----
 tests/extra-tests/pom.xml                                 |  4 ----
 tests/integration-tests/pom.xml                           |  4 ----
 .../integration/persistence/StorageManagerTestBase.java   |  3 ++-
 .../artemis/tests/integration/xa/BasicXaRecoveryTest.java |  3 ++-
 tests/jms-tests/pom.xml                                   |  4 ----
 tests/joram-tests/pom.xml                                 |  4 ----
 tests/karaf-client-integration-tests/pom.xml              |  4 ----
 tests/performance-jmh/pom.xml                             |  4 ----
 tests/performance-tests/pom.xml                           |  4 ----
 tests/smoke-tests/pom.xml                                 |  4 ----
 tests/soak-tests/pom.xml                                  |  4 ----
 tests/stress-tests/pom.xml                                |  4 ----
 tests/timing-tests/pom.xml                                |  4 ----
 tests/unit-tests/pom.xml                                  |  5 -----
 52 files changed, 19 insertions(+), 222 deletions(-)

diff --git a/artemis-boot/pom.xml b/artemis-boot/pom.xml
index aa19d22..229a1a3 100644
--- a/artemis-boot/pom.xml
+++ b/artemis-boot/pom.xml
@@ -36,10 +36,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <scope>test</scope>
diff --git a/artemis-cdi-client/pom.xml b/artemis-cdi-client/pom.xml
index babf3b6..f5e9ce9 100644
--- a/artemis-cdi-client/pom.xml
+++ b/artemis-cdi-client/pom.xml
@@ -48,10 +48,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-cli/pom.xml b/artemis-cli/pom.xml
index 1f304a0..e92c2d4 100644
--- a/artemis-cli/pom.xml
+++ b/artemis-cli/pom.xml
@@ -101,10 +101,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-commons/pom.xml b/artemis-commons/pom.xml
index 32d08b2..85493f1 100644
--- a/artemis-commons/pom.xml
+++ b/artemis-commons/pom.xml
@@ -70,11 +70,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-         <scope>provided</scope>
-      </dependency>
-      <dependency>
           <groupId>org.wildfly.common</groupId>
           <artifactId>wildfly-common</artifactId>
          <scope>provided</scope>
diff --git a/artemis-core-client/pom.xml b/artemis-core-client/pom.xml
index 0759351..5e4f950 100644
--- a/artemis-core-client/pom.xml
+++ b/artemis-core-client/pom.xml
@@ -57,10 +57,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
           <groupId>org.wildfly.common</groupId>
           <artifactId>wildfly-common</artifactId>
          <scope>provided</scope>
diff --git a/artemis-dto/pom.xml b/artemis-dto/pom.xml
index 45e1b2b..940b724 100644
--- a/artemis-dto/pom.xml
+++ b/artemis-dto/pom.xml
@@ -33,10 +33,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-commons</artifactId>
          <version>${project.version}</version>
diff --git a/artemis-hawtio/activemq-branding/pom.xml 
b/artemis-hawtio/activemq-branding/pom.xml
index e1419d5..b7c91f2 100644
--- a/artemis-hawtio/activemq-branding/pom.xml
+++ b/artemis-hawtio/activemq-branding/pom.xml
@@ -93,11 +93,6 @@
             <artifactId>slf4j-api</artifactId>
             <scope>provided</scope>
         </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-
     </dependencies>
 
 
diff --git a/artemis-hawtio/artemis-plugin/pom.xml 
b/artemis-hawtio/artemis-plugin/pom.xml
index 80878f8..aebba1d 100644
--- a/artemis-hawtio/artemis-plugin/pom.xml
+++ b/artemis-hawtio/artemis-plugin/pom.xml
@@ -91,11 +91,6 @@
       <artifactId>slf4j-api</artifactId>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-        <groupId>com.google.errorprone</groupId>
-        <artifactId>error_prone_core</artifactId>
-    </dependency>
-
   </dependencies>
 
 
diff --git a/artemis-jakarta-client/pom.xml b/artemis-jakarta-client/pom.xml
index 0fe90af..dfb60e4 100644
--- a/artemis-jakarta-client/pom.xml
+++ b/artemis-jakarta-client/pom.xml
@@ -40,10 +40,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-core-client</artifactId>
          <version>${project.version}</version>
diff --git a/artemis-jakarta-ra/pom.xml b/artemis-jakarta-ra/pom.xml
index be48b95..8be9ecf 100644
--- a/artemis-jakarta-ra/pom.xml
+++ b/artemis-jakarta-ra/pom.xml
@@ -49,10 +49,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-jakarta-server/pom.xml b/artemis-jakarta-server/pom.xml
index fbc3d31..09cac1c 100644
--- a/artemis-jakarta-server/pom.xml
+++ b/artemis-jakarta-server/pom.xml
@@ -48,10 +48,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-jakarta-service-extensions/pom.xml 
b/artemis-jakarta-service-extensions/pom.xml
index bb84d34..f668816 100644
--- a/artemis-jakarta-service-extensions/pom.xml
+++ b/artemis-jakarta-service-extensions/pom.xml
@@ -66,10 +66,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logmanager</groupId>
          <artifactId>jboss-logmanager</artifactId>
          <scope>test</scope>
diff --git a/artemis-jdbc-store/pom.xml b/artemis-jdbc-store/pom.xml
index 5ca637e..cd74e6c 100644
--- a/artemis-jdbc-store/pom.xml
+++ b/artemis-jdbc-store/pom.xml
@@ -41,10 +41,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-jms-client/pom.xml b/artemis-jms-client/pom.xml
index 47d1ce8..206fc24 100644
--- a/artemis-jms-client/pom.xml
+++ b/artemis-jms-client/pom.xml
@@ -39,10 +39,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-core-client</artifactId>
          <version>${project.version}</version>
diff --git a/artemis-jms-server/pom.xml b/artemis-jms-server/pom.xml
index edddb8a..05e721c 100644
--- a/artemis-jms-server/pom.xml
+++ b/artemis-jms-server/pom.xml
@@ -45,10 +45,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-journal/pom.xml b/artemis-journal/pom.xml
index 96131ff..92798de 100644
--- a/artemis-journal/pom.xml
+++ b/artemis-journal/pom.xml
@@ -44,12 +44,6 @@
          <scope>provided</scope>
          <optional>true</optional>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-          <scope>provided</scope>
-          <optional>true</optional>
-      </dependency>
 
       <!--
           JBoss Logging
diff --git a/artemis-junit/pom.xml b/artemis-junit/pom.xml
index 4b70579..6386603 100644
--- a/artemis-junit/pom.xml
+++ b/artemis-junit/pom.xml
@@ -39,12 +39,6 @@
          <scope>provided</scope>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <!--
-      -->
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-maven-plugin/pom.xml b/artemis-maven-plugin/pom.xml
index 8a00362..e3a4978 100644
--- a/artemis-maven-plugin/pom.xml
+++ b/artemis-maven-plugin/pom.xml
@@ -78,10 +78,6 @@
          <version>3.4</version>
          <scope>provided</scope>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
    <build>
diff --git a/artemis-protocols/artemis-amqp-protocol/pom.xml 
b/artemis-protocols/artemis-amqp-protocol/pom.xml
index 4f6120e..e9a87ca 100644
--- a/artemis-protocols/artemis-amqp-protocol/pom.xml
+++ b/artemis-protocols/artemis-amqp-protocol/pom.xml
@@ -59,10 +59,6 @@
          <scope>provided</scope>
          <optional>true</optional>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
 
       <!--
           JBoss Logging
diff --git a/artemis-protocols/artemis-hornetq-protocol/pom.xml 
b/artemis-protocols/artemis-hornetq-protocol/pom.xml
index 550c18a..4bb4e52 100644
--- a/artemis-protocols/artemis-hornetq-protocol/pom.xml
+++ b/artemis-protocols/artemis-hornetq-protocol/pom.xml
@@ -79,10 +79,6 @@
          <artifactId>junit</artifactId>
          <scope>test</scope>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
 </project>
diff --git a/artemis-protocols/artemis-hqclient-protocol/pom.xml 
b/artemis-protocols/artemis-hqclient-protocol/pom.xml
index d06d4f9..8291199 100644
--- a/artemis-protocols/artemis-hqclient-protocol/pom.xml
+++ b/artemis-protocols/artemis-hqclient-protocol/pom.xml
@@ -46,10 +46,6 @@
          <groupId>org.osgi</groupId>
          <artifactId>osgi.cmpn</artifactId>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
    <build>
diff --git a/artemis-protocols/artemis-mqtt-protocol/pom.xml 
b/artemis-protocols/artemis-mqtt-protocol/pom.xml
index 2fda300..f83d39c 100644
--- a/artemis-protocols/artemis-mqtt-protocol/pom.xml
+++ b/artemis-protocols/artemis-mqtt-protocol/pom.xml
@@ -41,10 +41,6 @@
          <artifactId>jboss-logging-annotations</artifactId>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-protocols/artemis-openwire-protocol/pom.xml 
b/artemis-protocols/artemis-openwire-protocol/pom.xml
index ead480c..3987f77 100644
--- a/artemis-protocols/artemis-openwire-protocol/pom.xml
+++ b/artemis-protocols/artemis-openwire-protocol/pom.xml
@@ -39,10 +39,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-protocols/artemis-stomp-protocol/pom.xml 
b/artemis-protocols/artemis-stomp-protocol/pom.xml
index e678242..e0e36dc 100644
--- a/artemis-protocols/artemis-stomp-protocol/pom.xml
+++ b/artemis-protocols/artemis-stomp-protocol/pom.xml
@@ -45,10 +45,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-quorum-api/pom.xml b/artemis-quorum-api/pom.xml
index bffd935..ca7930a 100644
--- a/artemis-quorum-api/pom.xml
+++ b/artemis-quorum-api/pom.xml
@@ -31,10 +31,4 @@
       <activemq.basedir>${project.basedir}/..</activemq.basedir>
    </properties>
 
-   <dependencies>
-      <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
-   </dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/artemis-quorum-ri/pom.xml b/artemis-quorum-ri/pom.xml
index 9a15f84..9d5a5d6 100644
--- a/artemis-quorum-ri/pom.xml
+++ b/artemis-quorum-ri/pom.xml
@@ -74,10 +74,7 @@
          <artifactId>artemis-commons</artifactId>
          <version>${project.version}</version>
       </dependency>
-      <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
+
       <!-- tests -->
       <dependency>
          <groupId>junit</groupId>
diff --git a/artemis-ra/pom.xml b/artemis-ra/pom.xml
index 26be8a6..1ca019a 100644
--- a/artemis-ra/pom.xml
+++ b/artemis-ra/pom.xml
@@ -45,10 +45,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-rest/pom.xml b/artemis-rest/pom.xml
index 05fdfd0..1bff2b1 100644
--- a/artemis-rest/pom.xml
+++ b/artemis-rest/pom.xml
@@ -49,10 +49,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml
index 3f6b4d0..dc4d27d 100644
--- a/artemis-selector/pom.xml
+++ b/artemis-selector/pom.xml
@@ -33,10 +33,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-commons</artifactId>
          <version>${project.version}</version>
diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml
index aadb1af..dec42a0 100644
--- a/artemis-server-osgi/pom.xml
+++ b/artemis-server-osgi/pom.xml
@@ -101,10 +101,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/artemis-server/pom.xml b/artemis-server/pom.xml
index 519ace3..5e9043c 100644
--- a/artemis-server/pom.xml
+++ b/artemis-server/pom.xml
@@ -45,10 +45,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava</artifactId>
          <exclusions>
diff --git a/artemis-service-extensions/pom.xml 
b/artemis-service-extensions/pom.xml
index 40183c4..7710af6 100644
--- a/artemis-service-extensions/pom.xml
+++ b/artemis-service-extensions/pom.xml
@@ -64,10 +64,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logmanager</groupId>
          <artifactId>jboss-logmanager</artifactId>
          <scope>test</scope>
diff --git a/artemis-web/pom.xml b/artemis-web/pom.xml
index e72b385..af6bec6 100644
--- a/artemis-web/pom.xml
+++ b/artemis-web/pom.xml
@@ -45,12 +45,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-          <scope>provided</scope>
-          <optional>true</optional>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.logging</groupId>
          <artifactId>jboss-logging</artifactId>
       </dependency>
diff --git a/examples/pom.xml b/examples/pom.xml
index f891f10..9f4edab 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -60,19 +60,6 @@ under the License.
       </pluginRepository>
    </pluginRepositories>
 
-   <build>
-      <plugins>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <configuration>
-               <compilerArgs combine.self="override">
-               </compilerArgs>
-            </configuration>
-         </plugin>
-      </plugins>
-   </build>
-
    <profiles>
       <profile>
          <!-- specify -PnoServer if you don't want to start the servers on the 
tests -->
diff --git a/integration/activemq-spring-integration/pom.xml 
b/integration/activemq-spring-integration/pom.xml
index dcfc9a4..6a2310f 100644
--- a/integration/activemq-spring-integration/pom.xml
+++ b/integration/activemq-spring-integration/pom.xml
@@ -48,10 +48,6 @@
          <groupId>org.springframework</groupId>
          <artifactId>spring-beans</artifactId>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
 </project>
diff --git a/pom.xml b/pom.xml
index a64e6d8..5ca5d95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@
       <jboss.logging.version>3.4.2.Final</jboss.logging.version>
       <jetty.version>9.4.44.v20210927</jetty.version>
       <jgroups.version>3.6.13.Final</jgroups.version>
-      <errorprone.version>2.9.0</errorprone.version>
+      <errorprone.version>2.10.0</errorprone.version>
       <maven.enforcer.plugin.version>3.0.0-M3</maven.enforcer.plugin.version>
       <maven.bundle.plugin.version>5.1.2</maven.bundle.plugin.version>
       <maven.shade.plugin.version>3.2.4</maven.shade.plugin.version>
@@ -390,7 +390,6 @@
              <artifactId>error_prone_core</artifactId>
              <version>${errorprone.version}</version>
              <scope>provided</scope>
-            <optional>true</optional>
          </dependency>
          <dependency>
             <groupId>org.springframework</groupId>
@@ -1008,6 +1007,12 @@
                   <name>errorprone</name>
               </property>
           </activation>
+          <dependencies>
+              <dependency>
+                  <groupId>com.google.errorprone</groupId>
+                  <artifactId>error_prone_core</artifactId>
+              </dependency>
+          </dependencies>
           <build>
               <plugins>
                   <plugin>
@@ -1034,6 +1039,12 @@
                   <name>errorprone</name>
               </property>
           </activation>
+          <dependencies>
+              <dependency>
+                  <groupId>com.google.errorprone</groupId>
+                  <artifactId>error_prone_core</artifactId>
+              </dependency>
+          </dependencies>
           <build>
               <plugins>
                   <plugin>
diff --git a/tests/artemis-test-support/pom.xml 
b/tests/artemis-test-support/pom.xml
index 5f89736..a0a811d 100644
--- a/tests/artemis-test-support/pom.xml
+++ b/tests/artemis-test-support/pom.xml
@@ -89,10 +89,6 @@
          <groupId>org.fusesource.hawtbuf</groupId>
          <artifactId>hawtbuf</artifactId>
       </dependency>
-      <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
 </project>
diff --git a/tests/compatibility-tests/pom.xml 
b/tests/compatibility-tests/pom.xml
index 43c1879..1b13b0a 100644
--- a/tests/compatibility-tests/pom.xml
+++ b/tests/compatibility-tests/pom.xml
@@ -33,10 +33,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-server</artifactId>
          <version>${project.version}</version>
diff --git a/tests/extra-tests/pom.xml b/tests/extra-tests/pom.xml
index 70eac22..a1f1fc5 100644
--- a/tests/extra-tests/pom.xml
+++ b/tests/extra-tests/pom.xml
@@ -42,10 +42,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.jboss.byteman</groupId>
          <artifactId>byteman</artifactId>
          <version>${byteman.version}</version>
diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml
index e937b54..cd95d3b 100644
--- a/tests/integration-tests/pom.xml
+++ b/tests/integration-tests/pom.xml
@@ -34,10 +34,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-server</artifactId>
          <version>${project.version}</version>
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 26c637b..c2d7795 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 19c2054..9aec571 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 0cfca96..64825cc 100644
--- a/tests/jms-tests/pom.xml
+++ b/tests/jms-tests/pom.xml
@@ -112,10 +112,6 @@
           <groupId>org.wildfly.common</groupId>
           <artifactId>wildfly-common</artifactId>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
    <build>
diff --git a/tests/joram-tests/pom.xml b/tests/joram-tests/pom.xml
index 04df465..59d81fc 100644
--- a/tests/joram-tests/pom.xml
+++ b/tests/joram-tests/pom.xml
@@ -102,10 +102,6 @@
           <groupId>org.wildfly.common</groupId>
           <artifactId>wildfly-common</artifactId>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
 
       <!-- The johnzon-core and json-api contents are repackaged in -commons,
            However maven can still need them during tests, which run against
diff --git a/tests/karaf-client-integration-tests/pom.xml 
b/tests/karaf-client-integration-tests/pom.xml
index 05d5deb..d9f0e8c 100644
--- a/tests/karaf-client-integration-tests/pom.xml
+++ b/tests/karaf-client-integration-tests/pom.xml
@@ -37,10 +37,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>jakarta.jms</groupId>
          <artifactId>jakarta.jms-api</artifactId>
          <scope>test</scope>
diff --git a/tests/performance-jmh/pom.xml b/tests/performance-jmh/pom.xml
index f04cc12..675988a 100644
--- a/tests/performance-jmh/pom.xml
+++ b/tests/performance-jmh/pom.xml
@@ -35,10 +35,6 @@
 
     <dependencies>
         <dependency>
-            <groupId>com.google.errorprone</groupId>
-            <artifactId>error_prone_core</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.apache.activemq</groupId>
             <artifactId>artemis-core-client</artifactId>
             <version>${project.version}</version>
diff --git a/tests/performance-tests/pom.xml b/tests/performance-tests/pom.xml
index cd64f4b..a846c00 100644
--- a/tests/performance-tests/pom.xml
+++ b/tests/performance-tests/pom.xml
@@ -33,10 +33,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-core-client</artifactId>
          <version>${project.version}</version>
diff --git a/tests/smoke-tests/pom.xml b/tests/smoke-tests/pom.xml
index 5622308..bb574ec 100644
--- a/tests/smoke-tests/pom.xml
+++ b/tests/smoke-tests/pom.xml
@@ -92,10 +92,6 @@
          <optional>true</optional>
       </dependency>
       <dependency>
-         <groupId>com.google.errorprone</groupId>
-         <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.qpid</groupId>
          <artifactId>qpid-jms-client</artifactId>
       </dependency>
diff --git a/tests/soak-tests/pom.xml b/tests/soak-tests/pom.xml
index 8847b3a..98a51a6 100644
--- a/tests/soak-tests/pom.xml
+++ b/tests/soak-tests/pom.xml
@@ -34,10 +34,6 @@
 
    <dependencies>
       <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-core-client</artifactId>
          <version>${project.version}</version>
diff --git a/tests/stress-tests/pom.xml b/tests/stress-tests/pom.xml
index 64c8ab2..1b1ce93 100644
--- a/tests/stress-tests/pom.xml
+++ b/tests/stress-tests/pom.xml
@@ -119,10 +119,6 @@
          <scope>test</scope>
          <type>test-jar</type>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
    <build>
diff --git a/tests/timing-tests/pom.xml b/tests/timing-tests/pom.xml
index 9b29dfa..d5d91f9 100644
--- a/tests/timing-tests/pom.xml
+++ b/tests/timing-tests/pom.xml
@@ -102,10 +102,6 @@
          <scope>test</scope>
          <type>test-jar</type>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
    </dependencies>
 
    <build>
diff --git a/tests/unit-tests/pom.xml b/tests/unit-tests/pom.xml
index fe6c394..405eb14 100644
--- a/tests/unit-tests/pom.xml
+++ b/tests/unit-tests/pom.xml
@@ -170,11 +170,6 @@
          <version>${netty-tcnative-version}</version>
          <scope>test</scope>
       </dependency>
-      <dependency>
-          <groupId>com.google.errorprone</groupId>
-          <artifactId>error_prone_core</artifactId>
-      </dependency>
-
    </dependencies>
 
    <build>

Reply via email to