From 911182a78b739297676de3b2ff5a2358102690d5 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 21 Apr 2024 15:25:13 +0200 Subject: [PATCH] [MDEP-914] Fix link in collect goal description --- .../dependency/resolvers/CollectDependenciesMojo.java | 6 ++---- .../dependency/resolvers/ResolveDependenciesMojo.java | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/dependency/resolvers/CollectDependenciesMojo.java b/src/main/java/org/apache/maven/plugins/dependency/resolvers/CollectDependenciesMojo.java index bc23a637d..8b5fe8504 100644 --- a/src/main/java/org/apache/maven/plugins/dependency/resolvers/CollectDependenciesMojo.java +++ b/src/main/java/org/apache/maven/plugins/dependency/resolvers/CollectDependenciesMojo.java @@ -32,19 +32,17 @@ * This is very useful when full dependency resolution might fail due to projects which haven't been built yet. *

*

- * It is identical to {@link ResolveDependenciesMojo} except for using the requiresDependencyCollection annotation - * attribute instead of requiresDependencyResolution. + * It is identical to resolve + * except for using the requiresDependencyCollection annotation attribute instead of requiresDependencyResolution. *

* * @author Eric Pabst * @author Brian Fox * @since 3.0 */ -// CHECKSTYLE_OFF: LineLength @Mojo( name = "collect", requiresDependencyCollection = ResolutionScope.TEST, defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true) -// CHECKSTYLE_ON: LineLength public class CollectDependenciesMojo extends ResolveDependenciesMojo {} diff --git a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java index 423c467bf..ebf0a63b3 100644 --- a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java +++ b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java @@ -52,13 +52,11 @@ * @author Brian Fox * @since 2.0 */ -// CHECKSTYLE_OFF: LineLength @Mojo( name = "resolve", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true) -// CHECKSTYLE_ON: LineLength public class ResolveDependenciesMojo extends AbstractResolveMojo { @Parameter(property = "outputEncoding", defaultValue = "${project.reporting.outputEncoding}")