HADOOP-15908. hadoop-build-tools jar is downloaded from remote repository instead of using from local. Contributed by Oleksandr Shevchenko.

(cherry picked from commit 0b0ba70b35)

Conflicts:
	hadoop-project/pom.xml
This commit is contained in:
Akira Ajisaka 2019-08-07 09:28:57 +09:00
parent f6fe18a282
commit 8e59ff92b8
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 30 additions and 24 deletions

View File

@ -1625,30 +1625,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>${maven-remote-resources-plugin.version}</version>
<configuration>
<resourceBundles>
<resourceBundle>org.apache.hadoop:hadoop-build-tools:${hadoop.version}</resourceBundle>
</resourceBundles>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-build-tools</artifactId>
<version>${hadoop.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
@ -1928,6 +1904,36 @@
</plugins>
</build>
</profile>
<profile>
<id>resource-bundle</id>
<!-- activate profile only when we build the whole project from project root directory -->
<activation>
<file>
<exists>${env.PWD}/LICENSE.txt</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>${maven-remote-resources-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.apache.hadoop:hadoop-build-tools:${hadoop.version}</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- The profile for building against HBase 1.2.x
This is the default.
-->