Skip to content

Commit

Permalink
Explicitly use maven versions plugin 2.7
Browse files Browse the repository at this point in the history
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 mojohaus/versions#426
  • Loading branch information
josephlbarnett committed Aug 13, 2020
1 parent d58da34 commit 586ba0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 586ba0c

Please sign in to comment.