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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new f0f2e18  ORC-796: Upgrade Apache parent pom to version 23 (#700)
f0f2e18 is described below

commit f0f2e1847348333a44aa69e1c6e878b4d76e0d8e
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue May 18 20:52:57 2021 -0700

    ORC-796: Upgrade Apache parent pom to version 23 (#700)
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade Apache Parent pom to the latest version, 23.
    - https://github.com/apache/maven-apache-parent/releases/tag/apache-23
    
    ### Why are the changes needed?
    
    We can remove the redundant information by using the versions from the 
parent pom.
    
    ### How was this patch tested?
    
    Pass the CIs.
---
 java/bench/pom.xml       | 32 --------------------------------
 java/bench/spark/pom.xml |  1 -
 java/examples/pom.xml    |  1 -
 java/pom.xml             |  7 +------
 java/tools/pom.xml       |  1 -
 5 files changed, 1 insertion(+), 41 deletions(-)

diff --git a/java/bench/pom.xml b/java/bench/pom.xml
index 751aeb9..aebb484 100644
--- a/java/bench/pom.xml
+++ b/java/bench/pom.xml
@@ -455,38 +455,6 @@
     <pluginManagement>
       <plugins>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-enforcer-plugin</artifactId>
-          <version>3.0.0-M1</version>
-          <executions>
-            <execution>
-              <id>enforce-maven</id>
-              <goals>
-                <goal>enforce</goal>
-              </goals>
-              <configuration>
-                <rules>
-                  <requireMavenVersion>
-                    <version>2.2.1</version>
-                  </requireMavenVersion>
-                </rules>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.1</version>
-          <configuration>
-            <source>1.7</source>
-            <target>1.7</target>
-           <compilerArgs>
-             <arg>-Xlint:unchecked</arg>
-           </compilerArgs>
-          </configuration>
-        </plugin>
-        <plugin>
           <artifactId>maven-assembly-plugin</artifactId>
           <configuration>
             <descriptors>
diff --git a/java/bench/spark/pom.xml b/java/bench/spark/pom.xml
index c26885c..8254d88 100644
--- a/java/bench/spark/pom.xml
+++ b/java/bench/spark/pom.xml
@@ -165,7 +165,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
-        <version>3.2.1</version>
         <executions>
           <execution>
             <phase>package</phase>
diff --git a/java/examples/pom.xml b/java/examples/pom.xml
index 5a6dc6d..17324f6 100644
--- a/java/examples/pom.xml
+++ b/java/examples/pom.xml
@@ -84,7 +84,6 @@
       </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
-       <version>3.1.0</version>
         <configuration>
           <archive>
             <manifest>
diff --git a/java/pom.xml b/java/pom.xml
index 8a31b2f..b48c318 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -92,7 +92,7 @@
             <configuration>
               <rules>
                 <requireMavenVersion>
-                  <version>2.2.1</version>
+                  <version>${maven.version}</version>
                 </requireMavenVersion>
               </rules>
             </configuration>
@@ -102,7 +102,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>3.2.0</version>
         <configuration>
           <links>
             <link>http://hadoop.apache.org/docs/r${hadoop.version}/api</link>
@@ -151,7 +150,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <version>3.2.1</version>
         <configuration>
           <attach>true</attach>
         </configuration>
@@ -230,7 +228,6 @@
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
-          <version>0.13</version>
           <executions>
             <execution>
               <phase>package</phase>
@@ -340,7 +337,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.8.1</version>
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
@@ -349,7 +345,6 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>3.2.4</version>
           <executions>
             <execution>
               <phase>package</phase>
diff --git a/java/tools/pom.xml b/java/tools/pom.xml
index 0de5696..071b1af 100644
--- a/java/tools/pom.xml
+++ b/java/tools/pom.xml
@@ -117,7 +117,6 @@
       </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
-       <version>3.1.0</version>
         <configuration>
           <archive>
             <manifest>

Reply via email to