You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2020/06/15 13:28:00 UTC

[activemq-artemis] 04/08: ARTEMIS-2109: Update extra-tests bits. Disable errorprone for examples, at least for now, to avoid updating hundreds of poms. Allows building on 11+

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

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

commit 502bfcfc567cf13615727a767b9e5ae29871b5a3
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Thu Jun 11 15:04:14 2020 +0100

    ARTEMIS-2109: Update extra-tests bits. Disable errorprone for examples, at least for now, to avoid updating hundreds of poms. Allows building on 11+
---
 examples/pom.xml          | 13 +++++++++++++
 tests/extra-tests/pom.xml | 14 +++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/examples/pom.xml b/examples/pom.xml
index a597b04..9eefc92 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -60,6 +60,19 @@ 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/tests/extra-tests/pom.xml b/tests/extra-tests/pom.xml
index 23e0b05..c63b3d5 100644
--- a/tests/extra-tests/pom.xml
+++ b/tests/extra-tests/pom.xml
@@ -33,8 +33,7 @@
    <name>ActiveMQ Artemis Extra Tests</name>
 
    <properties>
-      <tools.jar>${java.home}/../lib/tools.jar</tools.jar>
-      <byteman.version>3.0.10</byteman.version>
+      <byteman.version>4.0.11</byteman.version>
       <activemq.basedir>${project.basedir}/../..</activemq.basedir>
       <jboss-jts.version>4.17.13.Final</jboss-jts.version>
       <hornetq.version>2.4.7.Final</hornetq.version>
@@ -45,6 +44,10 @@
 
    <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>
@@ -80,13 +83,6 @@
          </exclusions>
       </dependency>
       <dependency>
-         <groupId>com.sun</groupId>
-         <artifactId>tools</artifactId>
-         <version>1.7</version>
-         <scope>system</scope>
-         <systemPath>${tools.jar}</systemPath>
-      </dependency>
-      <dependency>
          <groupId>org.apache.activemq</groupId>
          <artifactId>artemis-core-client</artifactId>
          <version>${project.version}</version>