Class AbstractWagonMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
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

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.project.MavenProject
    Internal Maven's project.
    protected org.apache.maven.settings.Settings
    The current user system settings for use in Maven.
    protected boolean
    When true, skip the execution.
    protected WagonFactory
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.maven.wagon.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 Details

    • wagonFactory

      @Inject protected WagonFactory wagonFactory
    • settings

      @Parameter(defaultValue="${settings}", readonly=true) protected org.apache.maven.settings.Settings settings
      The current user system settings for use in Maven.
    • project

      @Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
      Internal Maven's project.
    • skip

      @Parameter(property="wagon.skip") protected boolean skip
      When true, skip the execution.
      Since:
      2.0.0
  • Constructor Details

    • AbstractWagonMojo

      public AbstractWagonMojo()
  • Method Details

    • createWagon

      protected org.apache.maven.wagon.Wagon createWagon(String id, String url) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getWagonFileSet

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