This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new 8465ac6 PARQUET-2046: Upgrade Apache POM to 23 (#904)
8465ac6 is described below
commit 8465ac60302702192733fb51369e0cd60c10f9db
Author: belugabehr <[email protected]>
AuthorDate: Mon May 17 05:25:20 2021 -0400
PARQUET-2046: Upgrade Apache POM to 23 (#904)
* Updated for Apache POM 23
* Put plugin back into project
* Removed old version number
* Updated enforcer rules
---
parquet-benchmarks/pom.xml | 5 -----
parquet-cli/pom.xml | 9 ++++-----
parquet-format-structures/pom.xml | 2 --
parquet-protobuf/pom.xml | 1 -
pom.xml | 34 +++-------------------------------
5 files changed, 7 insertions(+), 44 deletions(-)
diff --git a/parquet-benchmarks/pom.xml b/parquet-benchmarks/pom.xml
index 1625342..91f7106 100644
--- a/parquet-benchmarks/pom.xml
+++ b/parquet-benchmarks/pom.xml
@@ -86,11 +86,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <compilerVersion>${targetJavaVersion}</compilerVersion>
- <source>${targetJavaVersion}</source>
- <target>${targetJavaVersion}</target>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/parquet-cli/pom.xml b/parquet-cli/pom.xml
index db240b0..9c7dc13 100644
--- a/parquet-cli/pom.xml
+++ b/parquet-cli/pom.xml
@@ -114,8 +114,8 @@
<goal>shade</goal>
</goals>
<configuration>
-
<shadedArtifactAttached>true</shadedArtifactAttached>
-
<shadedClassifierName>runtime</shadedClassifierName>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>runtime</shadedClassifierName>
<minimizeJar>false</minimizeJar>
<filters>
<filter>
@@ -139,9 +139,8 @@
</artifactSet>
<relocations>
<relocation>
- <!--
relocate Avro in the runtime jar to avoid conflicts with
- on-cluster Avro versions.
-
-->
+ <!-- relocate Avro in the runtime jar to avoid conflicts
with
+ on-cluster Avro versions. -->
<pattern>org.apache.avro</pattern>
<shadedPattern>${shade.prefix}.org.apache.avro</shadedPattern>
</relocation>
diff --git a/parquet-format-structures/pom.xml
b/parquet-format-structures/pom.xml
index b0b384f..a48ef96 100644
--- a/parquet-format-structures/pom.xml
+++ b/parquet-format-structures/pom.xml
@@ -126,7 +126,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- We have to turn off the javadoc check because thrift generates
improper comments -->
<doclint>none</doclint>
@@ -142,7 +141,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- We have to turn off the javadoc check because thrift generates
improper comments -->
<doclint>none</doclint>
diff --git a/parquet-protobuf/pom.xml b/parquet-protobuf/pom.xml
index 01af743..d897c02 100644
--- a/parquet-protobuf/pom.xml
+++ b/parquet-protobuf/pom.xml
@@ -121,7 +121,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
diff --git a/pom.xml b/pom.xml
index 5d37dc0..24f1229 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>16</version>
+ <version>23</version>
</parent>
<groupId>org.apache.parquet</groupId>
@@ -67,12 +67,9 @@
</developers>
<properties>
- <targetJavaVersion>1.8</targetJavaVersion>
<maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>${targetJavaVersion}</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <maven.compiler.target>1.8</maven.compiler.target>
<github.global.server>github</github.global.server>
- <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
<jackson.groupId>com.fasterxml.jackson.core</jackson.groupId>
<jackson.package>com.fasterxml.jackson</jackson.package>
<jackson.version>2.12.2</jackson.version>
@@ -103,7 +100,6 @@
<brotli-codec.version>0.1.1</brotli-codec.version>
<mockito.version>1.10.19</mockito.version>
<net.openhft.version>0.9</net.openhft.version>
- <maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<!-- parquet-cli dependencies -->
@@ -157,7 +153,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
<reportSets>
<reportSet><!-- by default, id = "default" -->
<reports><!-- select non-aggregate reports -->
@@ -220,14 +215,7 @@
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- </plugin>
-
- <plugin>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.3.1</version>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
@@ -238,7 +226,7 @@
<rules>
<bannedDependencies>
<excludes>
- <exclude>org.slf4j:slf4j-log4j12</exclude>
+ <exclude>org.slf4j:slf4j-log4j12:*:*:compile</exclude>
</excludes>
</bannedDependencies>
</rules>
@@ -250,7 +238,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
@@ -296,7 +283,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
@@ -318,7 +304,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin.version}</version>
<configuration>
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/**/*.java</sourceFileExclude>
@@ -347,14 +332,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
- <version>1.5</version>
<configuration>
<skip>true</skip>
</configuration>
@@ -364,7 +342,6 @@
<!-- Override source and target from the ASF parent -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
<configuration>
<argLine>-XX:MaxPermSize=256m</argLine>
<source>${maven.compiler.source}</source>
@@ -375,7 +352,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>2.10</version>
<executions>
<execution>
<goals>
@@ -389,7 +365,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.10</version>
<configuration>
<argLine>${surefire.argLine}</argLine>
<systemPropertyVariables>
@@ -428,7 +403,6 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.12</version>
<executions>
<execution>
<phase>test</phase>
@@ -524,7 +498,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.7</version>
<reportSets>
<reportSet>
<reports>
@@ -553,7 +526,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.3</version>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>