deployAtEnd and a bit more memory for Maven process

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2024-09-03 11:38:09 +10:00
parent 899c005e34
commit e804e861ea
No known key found for this signature in database
GPG Key ID: 873A8E86B4372146
1 changed files with 2 additions and 2 deletions

View File

@ -88,11 +88,11 @@ if [ ! -d "$ALT_DEPLOY_DIR" ] ; then
fi fi
# DEPLOY_OPTS="-Dmaven.test.failure.ignore=true" # DEPLOY_OPTS="-Dmaven.test.failure.ignore=true"
DEPLOY_OPTS="-DskipTests -Dasciidoctor.skip=false -Dmaven.build.cache.enabled=false" DEPLOY_OPTS="-DskipTests -Dasciidoctor.skip=false -Dmaven.build.cache.enabled=false -DdeployAtEnd=true -DretryFailedDeploymentCount=3 "
# DEPLOY_OPTS="$DEPLOY_OPTS -DaltDeploymentRepository=intarget::default::file://$ALT_DEPLOY_DIR/" # DEPLOY_OPTS="$DEPLOY_OPTS -DaltDeploymentRepository=intarget::default::file://$ALT_DEPLOY_DIR/"
# Uncomment for Java 1.7 # Uncomment for Java 1.7
export MAVEN_OPTS="-Xmx4g" export MAVEN_OPTS="-Xmx8g -Xms8g -client"
echo "" echo ""
echo "-----------------------------------------------" echo "-----------------------------------------------"