org.codehaus.mojo.wagon
Class AbstractWagonMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.wagon.AbstractWagonMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractDoubleWagonMojo, AbstractSingleWagonMojo

public abstract class AbstractWagonMojo
extends org.apache.maven.plugin.AbstractMojo

Provides base functionality for dealing with I/O using wagon.


Field Summary
protected  org.apache.maven.project.MavenProject project
          Internal Maven's project
protected  org.apache.maven.settings.Settings settings
          The current user system settings for use in Maven.
protected  boolean skip
          When true, skip the execution.
protected  org.apache.maven.artifact.manager.WagonManager wagonManager
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractWagonMojo()
           
 
Method Summary
protected  org.apache.maven.wagon.Wagon createWagon(String id, String url)
          Convenient method to create a wagon
protected  WagonFileSet getWagonFileSet(String fromDir, String includes, String excludes, boolean caseSensitive, String toDir)
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

wagonManager

protected org.apache.maven.artifact.manager.WagonManager wagonManager

settings

protected org.apache.maven.settings.Settings settings
The current user system settings for use in Maven.


project

protected org.apache.maven.project.MavenProject project
Internal Maven's project


skip

protected boolean skip
When true, skip the execution.

Constructor Detail

AbstractWagonMojo

public AbstractWagonMojo()
Method Detail

createWagon

protected org.apache.maven.wagon.Wagon createWagon(String id,
                                                   String url)
                                            throws org.apache.maven.plugin.MojoExecutionException
Convenient method to create a wagon

Parameters:
id -
url -
wagonManager -
settings -
logger -
Returns:
Throws:
org.apache.maven.plugin.MojoExecutionException

getWagonFileSet

protected WagonFileSet getWagonFileSet(String fromDir,
                                       String includes,
                                       String excludes,
                                       boolean caseSensitive,
                                       String toDir)


Copyright © 2008-2012 The Kuali Foundation. All Rights Reserved.