You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2021/01/28 21:53:35 UTC
[tez] branch master updated: TEZ-4266: Make Tez Inherit From Apache
POM (#89)
This is an automated email from the ASF dual-hosted git repository.
jeagles pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/master by this push:
new 0d3b428 TEZ-4266: Make Tez Inherit From Apache POM (#89)
0d3b428 is described below
commit 0d3b428ecbd5b3c240191a6d1907010aa549c189
Author: belugabehr <12...@users.noreply.github.com>
AuthorDate: Thu Jan 28 16:53:24 2021 -0500
TEZ-4266: Make Tez Inherit From Apache POM (#89)
---
pom.xml | 121 +++++-------------------
tez-dist/src/main/assembly/tez-dist-minimal.xml | 1 +
2 files changed, 25 insertions(+), 97 deletions(-)
diff --git a/pom.xml b/pom.xml
index 59ec193..892a8a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>23</version>
+ </parent>
<groupId>org.apache.tez</groupId>
<artifactId>tez</artifactId>
<packaging>pom</packaging>
@@ -35,33 +40,35 @@
</organization>
<properties>
+ <!-- Build Properties -->
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
+ <surefire.version>3.0.0-M4</surefire.version>
+ <failIfNoTests>false</failIfNoTests>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <build.time>${maven.build.timestamp}</build.time>
+
+ <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
+ <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
+ <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
+ <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
+ <distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
+ <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
+
<clover.license>${user.home}/clover.license</clover.license>
<guava.version>27.0-jre</guava.version>
<hadoop.version>3.1.3</hadoop.version>
<netty.version>3.10.5.Final</netty.version>
<pig.version>0.13.0</pig.version>
<jersey.version>1.19</jersey.version>
- <javac.version>1.8</javac.version>
<slf4j.version>1.7.10</slf4j.version>
- <enforced.java.version>[${javac.version},)</enforced.java.version>
- <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
- <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
- <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
- <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
- <distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
- <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
- <failIfNoTests>false</failIfNoTests>
<protobuf.version>2.5.0</protobuf.version>
<protoc.path>${env.PROTOC_PATH}</protoc.path>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scm.url>scm:git:https://gitbox.apache.org/repos/asf/tez.git</scm.url>
- <build.time>${maven.build.timestamp}</build.time>
<frontend-maven-plugin.version>1.4</frontend-maven-plugin.version>
<findbugs-maven-plugin.version>3.0.5</findbugs-maven-plugin.version>
- <javadoc-maven-plugin.version>2.10.4</javadoc-maven-plugin.version>
- <shade-maven-plugin.version>2.4.3</shade-maven-plugin.version>
- <maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
+ <maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
<checkstyle.version>8.35</checkstyle.version>
<dependency-check-maven.version>1.3.6</dependency-check-maven.version>
<test.build.data>${project.build.directory}/tmp</test.build.data>
@@ -746,22 +753,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>${javac.version}</source>
- <target>${javac.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
<executions>
<execution>
<goals>
@@ -791,15 +783,9 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.2.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc-maven-plugin.version}</version>
<configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
+ <doclint>none</doclint>
</configuration>
</plugin>
<plugin>
@@ -808,11 +794,6 @@
<version>${hadoop.version}</version>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
@@ -823,19 +804,8 @@
<version>1.3.2</version>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>${shade-maven-plugin.version}</version>
- </plugin>
- <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.10</version>
<configuration>
<excludes>
<exclude>CHANGES.txt</exclude>
@@ -865,7 +835,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M4</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
@@ -919,29 +888,6 @@
<version>${findbugs-maven-plugin.version}</version>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.4</version>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
@@ -996,20 +942,7 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
- <configuration>
- <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- </plugin>
- <plugin>
+ <plugin>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-maven-plugin</artifactId>
<version>1.7.9</version>
@@ -1029,7 +962,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.4</version>
<inherited>false</inherited>
<executions>
<execution>
@@ -1043,7 +975,7 @@
<version>[3.0.2,)</version>
</requireMavenVersion>
<requireJavaVersion>
- <version>${enforced.java.version}</version>
+ <version>[${maven.compiler.target},)</version>
</requireJavaVersion>
</rules>
</configuration>
@@ -1090,7 +1022,6 @@
-->
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
- <version>${dependency-check-maven.version}</version>
</plugin>
</plugins>
</build>
@@ -1242,7 +1173,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc-maven-plugin.version}</version>
<configuration>
<docfilessubdirs>true</docfilessubdirs>
</configuration>
@@ -1270,8 +1200,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>true</fork>
- <source>${javac.version}</source>
- <target>${javac.version}</target>
<compilerArguments>
<Xlint/>
<Xmaxwarns>9999</Xmaxwarns>
@@ -1350,7 +1278,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc-maven-plugin.version}</version>
<reportSets>
<reportSet>
<id>aggregate</id>
diff --git a/tez-dist/src/main/assembly/tez-dist-minimal.xml b/tez-dist/src/main/assembly/tez-dist-minimal.xml
index 35f9be7..4c95d37 100644
--- a/tez-dist/src/main/assembly/tez-dist-minimal.xml
+++ b/tez-dist/src/main/assembly/tez-dist-minimal.xml
@@ -26,6 +26,7 @@
<exclude>org.apache.tez:tez-aux-services</exclude>
<exclude>org.apache.tez:tez-ext-service-tests</exclude>
<exclude>org.apache.tez:tez-ui</exclude>
+ <exclude>org.apache.tez:tez-docs</exclude>
</excludes>
<binaries>
<outputDirectory>/</outputDirectory>