Skip to content

Commit 27ab334

Browse files
Deprecate remove-project-artifact goal
1 parent 8a4c7c4 commit 27ab334

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/codehaus/mojo/buildhelper/RemoveLocalArtifactMojo.java

+4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
*
4545
* @author <a href="[email protected]">Dan T. Tran</a>
4646
* @since 1.1
47+
* @deprecated There is a similar goal:
48+
* <a href="https://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html">dependency:purge-local-repository</a>
49+
* By the way such goal should by not used with Maven 3/4 anymore.
4750
*/
51+
@Deprecated
4852
@Mojo(name = "remove-project-artifact", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true)
4953
public class RemoveLocalArtifactMojo extends AbstractMojo {
5054

0 commit comments

Comments
 (0)