From 0595e246d3e55720a061dcfbfaa6410768b0a7dd Mon Sep 17 00:00:00 2001 From: Tobka Date: Tue, 15 Mar 2022 21:00:15 +0100 Subject: [PATCH] #706: add setting path as parameter --- scripts/src/main/resources/scripts/command/mvn | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/src/main/resources/scripts/command/mvn b/scripts/src/main/resources/scripts/command/mvn index a8e3a2d00..397d3b943 100755 --- a/scripts/src/main/resources/scripts/command/mvn +++ b/scripts/src/main/resources/scripts/command/mvn @@ -306,7 +306,7 @@ function doCheckNoSnapshots() { function doRunBuild() { local maven_cmd="${MVN}" - local maven_arguments="" + local maven_arguments="--settings=${DEVON_IDE_HOME}/conf/.m2/settings.xml" if [ -x mvnw ] then maven_cmd="./mvnw" @@ -319,17 +319,17 @@ function doRunBuild() { if [ "${?}" == 2 ] then # Maven version is lower than 4.0 (3.x) - maven_arguments="${MAVEN_ARGS}" - fi + maven_arguments="${MAVEN_ARGS}" + fi fi if doIsQuiet then if [ -n "${maven_arguments}" ] - then - maven_arguments="-q ${maven_arguments}" - else - maven_arguments="-q" - fi + then + maven_arguments="-q ${maven_arguments}" + else + maven_arguments="-q" + fi fi if [ -n "${maven_arguments}" ] then