Class CopyUserManifestTask
- java.lang.Object
-
- org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
-
- org.apache.maven.plugins.war.packaging.CopyUserManifestTask
-
- All Implemented Interfaces:
WarPackagingTask
public class CopyUserManifestTask extends AbstractWarPackagingTask
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.plugin.logging.Log
log
Instance logger-
Fields inherited from class org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH
-
-
Constructor Summary
Constructors Constructor Description CopyUserManifestTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.plugin.logging.Log
getLog()
Returns the logger.void
performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.void
setLog(org.apache.maven.plugin.logging.Log log)
The logger.-
Methods inherited from class org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludes
-
-
-
-
Method Detail
-
getLog
public org.apache.maven.plugin.logging.Log getLog()
Returns the logger.- Returns:
- logger
-
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
The logger.- Parameters:
log
- the logger to set
-
performPackaging
public void performPackaging(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Description copied from interface:WarPackagingTask
Performs the packaging for the specified task. The task is responsible to update the packaging context, namely with the files that have been copied.- Parameters:
context
- the packaging context- Throws:
org.apache.maven.plugin.MojoExecutionException
- if an error occurredorg.apache.maven.plugin.MojoFailureException
- if the project configuration is invalid
-
-