From c6c6594ecd519bb98c5363c939135f971f2a1bb5 Mon Sep 17 00:00:00 2001 From: markpit Date: Thu, 14 Nov 2024 16:58:03 +0000 Subject: [PATCH] Fix build issues around maven version plugin --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7568145..7a883ce 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ clean: .PHONY: build build: - mvn versions:set -DnewVersion=$(version) -DgenerateBackupPoms=false + mvn org.codehaus.mojo:versions-maven-plugin:2.17.1:set -DnewVersion=$(version) -DgenerateBackupPoms=false mvn package -DskipTests=true cp ./target/$(artifact_name)-$(version).jar ./$(artifact_name).jar @@ -31,7 +31,7 @@ ifndef version $(error No version given. Aborting) endif $(info Packaging version: $(version)) - mvn versions:set -DnewVersion=$(version) -DgenerateBackupPoms=false + mvn org.codehaus.mojo:versions-maven-plugin:2.17.1:set -DnewVersion=$(version) -DgenerateBackupPoms=false mvn package -DskipTests=true $(eval tmpdir:=$(shell mktemp -d build-XXXXXXXXXX)) cp ./target/$(artifact_name)-$(version).jar $(tmpdir)/$(artifact_name).jar