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 org.apache.maven.plugin.MojoExecutionException
WarPackagingTask
context
- the packaging contextorg.apache.maven.plugin.MojoExecutionException
- if an error occurredprotected File unpackOverlay(WarPackagingContext context, Overlay overlay) throws org.apache.maven.plugin.MojoExecutionException
context
- the packaging contextoverlay
- the overlayorg.apache.maven.plugin.MojoExecutionException
- if an error occurred while unpacking the overlayprotected File getOverlayTempDirectory(WarPackagingContext context, Overlay overlay)
context
- the packaging contextoverlay
- the overlayCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.