diff --git a/finish/ear/pom.xml b/finish/ear/pom.xml index 2a3e43f..7911cbd 100644 --- a/finish/ear/pom.xml +++ b/finish/ear/pom.xml @@ -50,7 +50,7 @@ org.junit.jupiter junit-jupiter - 5.6.2 + 5.7.1 test @@ -62,7 +62,7 @@ org.apache.maven.plugins maven-ear-plugin - 3.0.2 + 3.2.0 @@ -93,7 +93,7 @@ io.openliberty.tools liberty-maven-plugin - 3.2.3 + 3.3.4 diff --git a/finish/war/pom.xml b/finish/war/pom.xml index aa97af1..ac0d41e 100644 --- a/finish/war/pom.xml +++ b/finish/war/pom.xml @@ -38,7 +38,7 @@ org.eclipse.microprofile microprofile - 3.3 + 4.0.1 pom provided diff --git a/scripts/dailyBuild.sh b/scripts/dailyBuild.sh index 7bbfb10..3ace57a 100755 --- a/scripts/dailyBuild.sh +++ b/scripts/dailyBuild.sh @@ -1,14 +1,13 @@ #!/bin/bash -while getopts t:d:b:u: flag; do +while getopts t:d: flag; do case "${flag}" in t) DATE="${OPTARG}" ;; d) DRIVER="${OPTARG}" ;; - b) BUILD="${OPTARG}" ;; - u) DOCKER_USERNAME="${OPTARG}" ;; + *) echo "Invalid option";; esac done -sed -i "\#liberty-maven-plugin#ahttps://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/"$DATE"/"$DRIVER"" ear/pom.xml +sed -i "\#liberty-maven-plugin#ahttps://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER" ear/pom.xml cat ear/pom.xml ../scripts/testApp.sh diff --git a/scripts/testApp.sh b/scripts/testApp.sh index b2f39f2..7aaf6d9 100755 --- a/scripts/testApp.sh +++ b/scripts/testApp.sh @@ -14,10 +14,16 @@ set -euxo pipefail # liberty:create - Create a Liberty server. # liberty:install-feature - Install a feature packaged as a Subsystem Archive (esa) to the Liberty runtime. # liberty:deploy - Copy applications to the Liberty server's dropins or apps directory. -mvn -q clean install +mvn -Dhttp.keepAlive=false \ + -Dmaven.wagon.http.pool=false \ + -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \ + -q clean install cd ear -mvn liberty:create liberty:install-feature liberty:deploy +mvn -Dhttp.keepAlive=false \ + -Dmaven.wagon.http.pool=false \ + -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \ + liberty:create liberty:install-feature liberty:deploy ## Run the tests # These commands are separated because if one of the commands fail, the test script will fail and exit. diff --git a/start/ear/pom.xml b/start/ear/pom.xml index 3ba43a8..5268679 100644 --- a/start/ear/pom.xml +++ b/start/ear/pom.xml @@ -31,7 +31,7 @@ org.junit.jupiter junit-jupiter - 5.6.2 + 5.7.1 test @@ -47,7 +47,7 @@ io.openliberty.tools liberty-maven-plugin - 3.2.3 + 3.3.4