maven: run dependency FOD mvn commands in batch mode (#501020)
This commit is contained in:
@@ -59,13 +59,13 @@ let
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
MAVEN_EXTRA_ARGS=""
|
||||
MAVEN_EXTRA_ARGS="-B"
|
||||
|
||||
# handle proxy
|
||||
if [[ -n "''${HTTP_PROXY-}" ]] || [[ -n "''${HTTPS_PROXY-}" ]] || [[ -n "''${NO_PROXY-}" ]];then
|
||||
mvnSettingsFile="$(mktemp -d)/settings.xml"
|
||||
${writeProxySettings} $mvnSettingsFile
|
||||
MAVEN_EXTRA_ARGS="-s=$mvnSettingsFile"
|
||||
MAVEN_EXTRA_ARGS="$MAVEN_EXTRA_ARGS -s=$mvnSettingsFile"
|
||||
fi
|
||||
|
||||
# handle cacert by populating a trust store on the fly
|
||||
|
||||
Reference in New Issue
Block a user