org.apache.maven.plugin.coreit
Class LookupWagonMojo

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

public class LookupWagonMojo
extends AbstractMojo

Loads resources from a class loader used to load a wagon provider. The wagon is merely used to access the extension class loader it came from which is otherwise not accessible to a plugin.

Version:
$Id: LookupWagonMojo.java 885587 2009-11-30 21:31:17Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
lookup-wagon
Is bound to the specified phase of the standard build lifecycle:
validate

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LookupWagonMojo()
           
 
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

LookupWagonMojo

public LookupWagonMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Runs this mojo.

Throws:
MojoFailureException - If the attached file has not been set.
MojoExecutionException


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