org.apache.maven.plugin.war.packaging
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 java.io.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 java.io.File |
unpackOverlay(WarPackagingContext context,
Overlay overlay)
Unpacks the specified overlay.
|
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, 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 java.io.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 java.io.File getOverlayTempDirectory(WarPackagingContext context, Overlay overlay)
context
- the packaging contextoverlay
- the overlayCopyright © 2014. All Rights Reserved.