Class CopyUserManifestTask
java.lang.Object
org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
org.apache.maven.plugins.war.packaging.CopyUserManifestTask
- All Implemented Interfaces:
WarPackagingTask
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
Field Details
-
log
private org.apache.maven.plugin.logging.Log logInstance logger
-
-
Constructor Details
-
CopyUserManifestTask
public CopyUserManifestTask()
-
-
Method Details
-
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
-