From ad65f62443f23076dfc520d3f0589282da9530fa Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 8 Jul 2020 09:04:57 +0200 Subject: [PATCH 2/2] Bind to OpenJDK 11 for runtime --- apache-maven/src/bin/mvn | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn index a554c6617..23b9dd902 100755 --- a/downstream/maven/apache-maven/src/bin/mvn +++ b/downstream/maven/apache-maven/src/bin/mvn @@ -27,17 +27,7 @@ # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # ----------------------------------------------------------------------------- -if [ -z "$MAVEN_SKIP_RC" ] ; then - - if [ -f /etc/mavenrc ] ; then - . /etc/mavenrc - fi - - if [ -f "$HOME/.mavenrc" ] ; then - . "$HOME/.mavenrc" - fi - -fi +export JAVA_HOME=/usr/lib/jvm/java-11-openjdk # OS specific support. $var _must_ be set to either true or false. cygwin=false; -- 2.25.4