Class 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).
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        The actual execution of the mojo.
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException