diff --git a/bin/build.sh b/bin/build.sh index ac9093d..468804f 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -3,5 +3,5 @@ set -eo pipefail docker run --rm \ -v "$PWD:/cyberark/conjur-java-api" \ - -w /cyberark/conjur-java-api maven:3-jdk-8 \ + -w /cyberark/conjur-java-api maven:3-jdk-11 \ /bin/bash -ec "mvn -X -e clean package -Dmaven.test.skip=true" diff --git a/bin/deploy-release.sh b/bin/deploy-release.sh index fe0c8f4..29f2159 100755 --- a/bin/deploy-release.sh +++ b/bin/deploy-release.sh @@ -18,7 +18,7 @@ docker run --rm \ -v "$PWD:/cyberark/conjur-java-api" \ -v "$GPG_PASSWORD:/gpg_password" \ -v "$GPG_PRIVATE_KEY:/gpg_key" \ - -w /cyberark/conjur-java-api maven:3-jdk-8 \ + -w /cyberark/conjur-java-api maven:3-jdk-11 \ /bin/bash -ec "gpg --batch --passphrase-file /gpg_password --trust-model always --import /gpg_key mvn versions:set -DnewVersion=${TAG} mvn --settings settings.xml clean deploy -Dmaven.test.skip=true -P ossrh,sign diff --git a/bin/deploy-snapshot.sh b/bin/deploy-snapshot.sh index 083cfb5..7db5a66 100755 --- a/bin/deploy-snapshot.sh +++ b/bin/deploy-snapshot.sh @@ -13,6 +13,6 @@ docker run --rm \ -v "$PWD:/cyberark/conjur-java-api" \ -v "$GPG_PASSWORD:/gpg_password" \ -v "$GPG_PRIVATE_KEY:/gpg_key" \ - -w /cyberark/conjur-java-api maven:3-jdk-8 \ + -w /cyberark/conjur-java-api maven:3-jdk-11 \ /bin/bash -ec "gpg --batch --passphrase-file /gpg_password --trust-model always --import /gpg_key mvn --settings settings.xml clean deploy -Dmaven.test.skip=true -P ossrh,sign"