From 10a50b8677db8d482a3cae6fdb5184483b25bb69 Mon Sep 17 00:00:00 2001 From: Andreas Dangel <andreas.dangel@pmd-code.org> Date: Thu, 17 Aug 2023 18:59:07 +0200 Subject: [PATCH] [ci] Use adjusted m-pmd-p for dogfood --- .ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build.sh b/.ci/build.sh index a7e98d14cf..c717eeb592 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -284,7 +284,7 @@ function pmd_ci_dogfood() { sed -i 's/<version>[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}.*<\/version>\( *<!-- pmd.dogfood.version -->\)/<version>'"${PMD_CI_MAVEN_PROJECT_VERSION}"'<\/version>\1/' pom.xml if [ "${PMD_CI_MAVEN_PROJECT_VERSION}" = "7.0.0-SNAPSHOT" ]; then sed -i 's/pmd-dogfood-config\.xml/pmd-dogfood-config7.xml/' pom.xml - mpmdVersion=(-Denforcer.skip=true -Dpmd.plugin.version=3.21.1-pmd-7-SNAPSHOT) + mpmdVersion=(-Denforcer.skip=true -Dpmd.plugin.version=3.21.1-pmd-7.0.0-SNAPSHOT) fi ./mvnw verify --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}" \ "${mpmdVersion[@]}" \