@Mojo(name="assemble-dependencies", requiresProject=true, threadSafe=true) public class AssembleDependenciesMojo extends AbstractDependencyGraphTraversingMojo
Unlike other similar mojos in this plugin, this one traverses dependencies through its graph.
graphBuilder
artifactFactory, artifactMetadataSource, artifactResolver, jenkinsCoreId, localRepository, project, projectBuilder, projectHelper, remoteRepos
Constructor and Description |
---|
AssembleDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(org.apache.maven.shared.dependency.graph.DependencyNode g)
Visits a node.
|
void |
execute() |
traverseProject, visit
findJenkinsVersion, wrap
protected boolean accept(org.apache.maven.shared.dependency.graph.DependencyNode g)
AbstractDependencyGraphTraversingMojo
accept
in class AbstractDependencyGraphTraversingMojo
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2016. All rights reserved.