# scripts. It is meant to be sourced in other scripts so that the variables can
# be called.
+# shellcheck disable=SC2140
MAVEN_OPTIONS="$(echo --show-version \
--batch-mode \
-Djenkins \
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
+ "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer"\
+".Slf4jMavenTransferListener=warn" \
-Dmaven.repo.local=/tmp/r \
-Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
echo "$MAVEN_OPTIONS"
-
-# Activates the lftools virtualenv
-lftools_activate() {
- echo "WARNING: lftools_activate should no longer be used and will be removed in a future release."
- virtualenv --quiet "/tmp/v/lftools"
- set +u # Ignore unbound variables in activate
- # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
- source "/tmp/v/lftools/bin/activate"
- set -u # Restore unbound variable checking
-}