HADOOP-14285. Update minimum version of Maven from 3.0 to 3.3.

This commit is contained in:
Akira Ajisaka 2017-04-08 14:23:26 +09:00
parent 39fa3712d9
commit 612578fe67
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
3 changed files with 12 additions and 8 deletions

View File

@ -5,7 +5,7 @@ Requirements:
* Unix System
* JDK 1.8+
* Maven 3.0 or later
* Maven 3.3 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer (if compiling native code), must be 3.0 or newer on Mac

View File

@ -81,13 +81,17 @@ RUN apt-get -q install --no-install-recommends -y oracle-java8-installer
####
# Apps that require Java
###
RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
ant \
maven
RUN apt-get -q update && apt-get -q install --no-install-recommends -y ant
# Fixing the Apache commons / Maven dependency problem under Ubuntu:
# See http://wiki.apache.org/commons/VfsProblems
RUN cd /usr/share/maven/lib && ln -s ../../java/commons-lang.jar .
######
# Install Apache Maven
######
RUN mkdir -p /opt/maven && \
curl -L -s -S \
http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz \
-o /opt/maven.tar.gz && \
tar xzf /opt/maven.tar.gz --strip-components 1 -C /opt/maven
ENV MAVEN_HOME /opt/maven
######
# Install findbugs

View File

@ -103,7 +103,7 @@
for an open-ended enforcement
-->
<enforced.java.version>[${javac.version},)</enforced.java.version>
<enforced.maven.version>[3.0.2,)</enforced.maven.version>
<enforced.maven.version>[3.3.0,)</enforced.maven.version>
<!-- Plugin versions and config -->
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>