Class ResolveArtifactMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.resolver.examples.maven.ResolveArtifactMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="resolve-artifact",
threadSafe=true)
public class ResolveArtifactMojo
extends org.apache.maven.plugin.AbstractMojo
Resolves a single artifact (not including its transitive dependencies).
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ResolveArtifactMojo
public ResolveArtifactMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionThe actual execution of the mojo.- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-