Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,17 @@
* This is very useful when full dependency resolution might fail due to projects which haven't been built yet.
* </p>
* <p>
* It is identical to {@link ResolveDependenciesMojo} except for using the requiresDependencyCollection annotation
* attribute instead of requiresDependencyResolution.
* It is identical to <a href="https://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html">resolve</a>
* except for using the requiresDependencyCollection annotation attribute instead of requiresDependencyResolution.
* </p>
*
* @author <a href="mailto:epabst@gmail.com">Eric Pabst</a>
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
* @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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
* @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}")
Expand Down