You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2021/04/14 11:53:46 UTC

[accumulo-testing] branch main updated: Update pom to Java 11 (#138)

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

mmiller pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new 64c5e17  Update pom to Java 11 (#138)
64c5e17 is described below

commit 64c5e17589258dcfd2e66b041abc565b4c1afce4
Author: Mike Miller <mm...@apache.org>
AuthorDate: Wed Apr 14 07:53:38 2021 -0400

    Update pom to Java 11 (#138)
    
    * Update pom to Java 11
    * Remove obsoleted profile
    * Use java 11 for m2e profile as well
    
    Co-authored-by: Christopher Tubbs <ct...@apache.org>
---
 pom.xml | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index 54064a1..2ca8759 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>21</version>
+    <version>23</version>
   </parent>
   <groupId>org.apache.accumulo</groupId>
   <artifactId>accumulo-testing</artifactId>
@@ -31,8 +31,9 @@
     <accumulo.version>2.1.0-SNAPSHOT</accumulo.version>
     <eclipseFormatterStyle>${project.basedir}/contrib/Eclipse-Accumulo-Codestyle.xml</eclipseFormatterStyle>
     <hadoop.version>3.2.0</hadoop.version>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.release>11</maven.compiler.release>
+    <maven.compiler.source>11</maven.compiler.source>
+    <maven.compiler.target>11</maven.compiler.target>
     <slf4j.version>1.7.25</slf4j.version>
     <spotbugs.version>3.1.7</spotbugs.version>
     <zookeeper.version>3.4.14</zookeeper.version>
@@ -158,7 +159,7 @@
         <plugin>
           <groupId>net.revelc.code.formatter</groupId>
           <artifactId>formatter-maven-plugin</artifactId>
-          <version>2.10.0</version>
+          <version>2.14.0</version>
           <configuration>
             <configFile>${eclipseFormatterStyle}</configFile>
             <compilerCompliance>${maven.compiler.source}</compilerCompliance>
@@ -388,9 +389,6 @@
           <name>m2e.version</name>
         </property>
       </activation>
-      <properties>
-        <maven.compiler.release>8</maven.compiler.release>
-      </properties>
       <build>
         <pluginManagement>
           <plugins>
@@ -423,14 +421,5 @@
         </pluginManagement>
       </build>
     </profile>
-    <profile>
-      <id>jdk-release-flag</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <properties>
-        <maven.compiler.release>8</maven.compiler.release>
-      </properties>
-    </profile>
   </profiles>
 </project>