public abstract class AbstractWagonMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
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 WagonFactory |
wagonFactory |
Constructor and Description |
---|
AbstractWagonMojo() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.maven.wagon.Wagon |
createWagon(String id,
String url) |
protected WagonFileSet |
getWagonFileSet(String fromDir,
String includes,
String excludes,
boolean caseSensitive,
String toDir) |
getLog, getPluginContext, setLog, setPluginContext
@Component protected WagonFactory wagonFactory
@Parameter(defaultValue="${settings}", readonly=true) protected org.apache.maven.settings.Settings settings
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
@Parameter(property="wagon.skip") protected boolean skip
true
, skip the execution.protected org.apache.maven.wagon.Wagon createWagon(String id, String url) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected WagonFileSet getWagonFileSet(String fromDir, String includes, String excludes, boolean caseSensitive, String toDir)
Copyright © 2008–2021 MojoHaus. All rights reserved.