Package org.codehaus.mojo.wagon
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
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectInternal Maven's project.protected org.apache.maven.settings.SettingsThe current user system settings for use in Maven.protected booleanWhentrue, skip the execution.protected WagonFactoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.wagon.WagoncreateWagon(String id, String url) protected WagonFileSetgetWagonFileSet(String fromDir, String includes, String excludes, boolean caseSensitive, String toDir) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
wagonFactory
-
settings
@Parameter(defaultValue="${settings}", readonly=true) protected org.apache.maven.settings.Settings settingsThe current user system settings for use in Maven. -
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectInternal Maven's project. -
skip
@Parameter(property="wagon.skip") protected boolean skipWhentrue, 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)
-