@Mojo(name="apply", defaultPhase=PROCESS_SOURCES) public class ApplyMojo extends AbstractMojo
Modifier and Type | Field and Description |
---|---|
static List |
DEFAULT_IGNORED_PATCH_PATTERNS |
static List |
DEFAULT_IGNORED_PATCHES |
static List |
PATCH_FAILURE_WATCH_PHRASES |
protected List |
patches
The list of patch file names, supplying the order in which patches should be applied.
|
Constructor and Description |
---|
ApplyMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Apply the patches.
|
getLog, getPluginContext, setLog, setPluginContext
public static final List PATCH_FAILURE_WATCH_PHRASES
public static final List DEFAULT_IGNORED_PATCHES
public static final List DEFAULT_IGNORED_PATCH_PATTERNS
@Parameter protected List patches
patchDirectory
. This parameter
is mutually exclusive with the patchfile
parameter.public void execute() throws MojoExecutionException, MojoFailureException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.