From 7b1a0350be18dba2d3069f0bf70e3308a92dd4a5 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 12 May 2024 11:24:38 +0200 Subject: [PATCH] Deprecate remove-project-artifact goal --- .../codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java b/src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java index 4ca65618..311c6c2d 100644 --- a/src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java +++ b/src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java @@ -44,7 +44,11 @@ * * @author Dan T. Tran * @since 1.1 + * @deprecated There is a similar goal: + * dependency:purge-local-repository + * By the way such goal should by not used with Maven 3/4 anymore. */ +@Deprecated @Mojo(name = "remove-project-artifact", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true) public class RemoveLocalArtifactMojo extends AbstractMojo {