From 13684ec59d98c22e115434e70f7aff7991e7b5e8 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Wed, 13 Nov 2024 18:27:41 +0100 Subject: [PATCH] Replace deprecated `build-helper:remove-project-artifact` goal (#1413) --- .github/workflows/build.yml | 2 +- .github/workflows/run-integration-tests.yml | 2 +- pom.xml | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d04d05b49..74d4a4f09a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,6 @@ jobs: - name: Build project with self-check against Error Prone fork run: mvn -T1C clean verify -Perror-prone-fork -Pnon-maven-central -Pself-check -s settings.xml - name: Remove installed project artifacts - run: mvn build-helper:remove-project-artifact + run: mvn dependency:purge-local-repository -DmanualInclude='${project.groupId}' -DresolutionFuzziness=groupId # XXX: Enable Codecov once we "go public". diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index 013e45f71e..dd4b8b97a6 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -50,4 +50,4 @@ jobs: name: integration-test-checkstyle path: "${{ runner.temp }}/artifacts" - name: Remove installed project artifacts - run: mvn build-helper:remove-project-artifact + run: mvn dependency:purge-local-repository -DmanualInclude='${project.groupId}' -DresolutionFuzziness=groupId diff --git a/pom.xml b/pom.xml index 8d28abad64..c3d3e4d072 100644 --- a/pom.xml +++ b/pom.xml @@ -1310,11 +1310,6 @@ true - - org.codehaus.mojo - build-helper-maven-plugin - 3.6.0 - org.codehaus.mojo license-maven-plugin