@Mojo(name="apply",
defaultPhase=PROCESS_SOURCES)
public class ApplyMojo
extends org.apache.maven.plugin.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.
|
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 org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.