HADOOP-14285. Update minimum version of Maven from 3.0 to 3.3.
This commit is contained in:
parent
39fa3712d9
commit
612578fe67
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue