From 911182a78b739297676de3b2ff5a2358102690d5 Mon Sep 17 00:00:00 2001
From: Slawomir Jaranowski
- * 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}")