org.apache.maven.plugin.coreit
Class ResolveMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.ResolveMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class ResolveMojo
extends AbstractMojo

Resolves user-specified artifacts. This mimics in part the Maven Dependency Plugin and the Maven Surefire Plugin.

Version:
$Id: ResolveMojo.java 995456 2010-09-09 15:20:12Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
resolve

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ResolveMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolveMojo

public ResolveMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoFailureException - If the artifact could not be resolved
MojoExecutionException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.