HADOOP-15504. Upgrade Maven Core and Maven Wagon dependencies.

This commit is contained in:
Sean Mackrory 2018-05-01 08:56:10 -06:00
parent 308a1591f9
commit 1da3b55659
3 changed files with 31 additions and 11 deletions

View File

@ -26,7 +26,7 @@
<packaging>maven-plugin</packaging> <packaging>maven-plugin</packaging>
<name>Apache Hadoop Maven Plugins</name> <name>Apache Hadoop Maven Plugins</name>
<properties> <properties>
<maven.dependency.version>3.0</maven.dependency.version> <maven.dependency.version>3.0.5</maven.dependency.version>
<maven.plugin-tools.version>3.5.1</maven.plugin-tools.version> <maven.plugin-tools.version>3.5.1</maven.plugin-tools.version>
</properties> </properties>
<dependencies> <dependencies>
@ -45,6 +45,14 @@
<artifactId>maven-plugin-annotations</artifactId> <artifactId>maven-plugin-annotations</artifactId>
<version>${maven.plugin-tools.version}</version> <version>${maven.plugin-tools.version}</version>
<scope>provided</scope> <scope>provided</scope>
<exclusions>
<!-- excluding dependency that conflicts with other maven
dependencies -->
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
@ -60,16 +68,28 @@
<version>${maven-shade-plugin.version}</version> <version>${maven-shade-plugin.version}</version>
<scope>provided</scope> <scope>provided</scope>
<exclusions> <exclusions>
<!-- shade conflicts with itself and our other maven internals <!-- shade conflicts with itself and other maven internals so we simply
by including a combination of 3.x and 2.x exclude shade's (older) copies of the dependencies -->
-->
<exclusion> <exclusion>
<groupId>org.apache.maven.shared</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-dependency-tree</artifactId> <artifactId>maven-artifact</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
</exclusion> </exclusion>
<!-- again, shade conflicts with itself on the transitives of this
dependency
-->
<exclusion> <exclusion>
<groupId>org.vafer</groupId> <groupId>org.vafer</groupId>
<artifactId>jdependency</artifactId> <artifactId>jdependency</artifactId>

View File

@ -13,7 +13,7 @@
*/ */
package org.apache.hadoop.maven.plugin.resourcegz; package org.apache.hadoop.maven.plugin.resourcegz;
import com.google.inject.internal.util.Lists; import com.google.common.collect.Lists;
import org.apache.commons.io.IOUtils; import org.apache.commons.io.IOUtils;
import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoExecutionException;

View File

@ -106,7 +106,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<maven-remote-resources-plugin.version>1.5</maven-remote-resources-plugin.version> <maven-remote-resources-plugin.version>1.5</maven-remote-resources-plugin.version>
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version> <maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
<apache-rat-plugin.version>0.12</apache-rat-plugin.version> <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
<wagon-ssh.version>1.0</wagon-ssh.version> <wagon-ssh.version>2.4</wagon-ssh.version>
<maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version> <maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version>
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version> <maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>