org.codehaus.mojo.wagon
Class WagonMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.wagon.WagonMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class WagonMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

A mojo wrapper for Wagon. Should autoconfigure in typical Wagon style. But maybe that doesn't work yet. We really only have a couple of commands with Wagon: get and put. Thus the configuration... put bleh bleh put bleh bleh

Author:
Brian Topping

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WagonMojo()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void execute()
           
 org.apache.maven.wagon.Wagon getWagon(java.lang.String protocol)
           
 
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

WagonMojo

public WagonMojo()
Method Detail

getWagon

public org.apache.maven.wagon.Wagon getWagon(java.lang.String protocol)
                                      throws org.apache.maven.wagon.UnsupportedProtocolException
Throws:
org.apache.maven.wagon.UnsupportedProtocolException

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


Copyright © 2009. All Rights Reserved.