From d5f77a3f17f62366738d8c5f0c3bc478ff735318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 13 Mar 2021 21:21:20 +0100 Subject: [PATCH] [MNG-6399] - Lift JDK minimum to JDK 8 --- README.md | 4 ++-- apache-maven/README.txt | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f1066b635a..0eec188993 100644 --- a/README.md +++ b/README.md @@ -64,11 +64,11 @@ Do you like Apache Maven? Then [donate back to the ASF](https://www.apache.org/f Quick Build ------- If you want to bootstrap Maven, you'll need: -- Java 1.8+ +- Java 8+ - Maven 3.0.5 or later - Run Maven, specifying a location into which the completed Maven distro should be installed: ``` - mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-3.7.x-SNAPSHOT" clean package + mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package ``` diff --git a/apache-maven/README.txt b/apache-maven/README.txt index f58bdba158..a9d34004aa 100644 --- a/apache-maven/README.txt +++ b/apache-maven/README.txt @@ -22,7 +22,7 @@ ------------------- JDK: - 1.7 or above (this is to execute Maven - it still allows you to build against 1.3 + 8 or above (this is to execute Maven - it still allows you to build against 1.3 and prior JDK's). Memory: No minimum requirement. @@ -42,18 +42,18 @@ 1) Unpack the archive where you would like to store the binaries, e.g.: Unix-based operating systems (Linux, Solaris and Mac OS X) - tar zxvf apache-maven-3.x.y.tar.gz + tar zxvf apache-maven-4.x.y.tar.gz Windows - unzip apache-maven-3.x.y.zip + unzip apache-maven-4.x.y.zip - 2) A directory called "apache-maven-3.x.y" will be created. + 2) A directory called "apache-maven-4.x.y" will be created. 3) Add the bin directory to your PATH, e.g.: Unix-based operating systems (Linux, Solaris and Mac OS X) - export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH + export PATH=/usr/local/apache-maven-4.x.y/bin:$PATH Windows - set PATH="c:\program files\apache-maven-3.x.y\bin";%PATH% + set PATH="c:\program files\apache-maven-4.x.y\bin";%PATH% 4) Make sure JAVA_HOME is set to the location of your JDK