public class OverlayPackagingTask extends AbstractWarPackagingTask
CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH
Constructor and Description |
---|
OverlayPackagingTask(Overlay overlay,
Overlay currentProjectOverlay) |
Modifier and Type | Method and Description |
---|---|
protected File |
getOverlayTempDirectory(WarPackagingContext context,
Overlay overlay)
Returns the directory to use to unpack the specified overlay.
|
void |
performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
protected File |
unpackOverlay(WarPackagingContext context,
Overlay overlay)
Unpacks the specified overlay.
|
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludes
public void performPackaging(WarPackagingContext context) throws MojoExecutionException
WarPackagingTask
context
- the packaging contextMojoExecutionException
- if an error occurredprotected File unpackOverlay(WarPackagingContext context, Overlay overlay) throws MojoExecutionException
context
- the packaging contextoverlay
- the overlayMojoExecutionException
- if an error occurred while unpacking the overlayprotected File getOverlayTempDirectory(WarPackagingContext context, Overlay overlay)
context
- the packaging contextoverlay
- the overlayCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.