From 586ba0cfc8638de8f48c287064125f8341a21228 Mon Sep 17 00:00:00 2001 From: Joe Barnett Date: Thu, 13 Aug 2020 08:37:09 -0700 Subject: [PATCH] Explicitly use maven versions plugin 2.7 Latest version doesn't support setting version with parent pom in a subdirectory, so use the last version that worked. Also better to specify version explicitly than to automatically get latest version. See https://github.com/mojohaus/versions-maven-plugin/issues/426 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e4867bcd..152485ff5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,7 +48,7 @@ jobs: fi for i in build-resources parent-pom; do cd $i - mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${NEW_PROJECT_VERSION} + mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DgenerateBackupPoms=false -DnewVersion=${NEW_PROJECT_VERSION} cd .. done echo ${NEW_PROJECT_VERSION} > ~/repo/current_version.txt