Class ArtifactsPackagingTask
java.lang.Object
org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
org.apache.maven.plugins.war.packaging.ArtifactsPackagingTask
- All Implemented Interfaces:
WarPackagingTask
Handles the artifacts that needs to be packaged in the web application.
- Author:
- Stephane Nicoll
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTheextensionspath.static final StringThemodulespath.static final StringTheservicespath.static final StringThetldpath.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
ConstructorsConstructorDescriptionArtifactsPackagingTask(Set<org.apache.maven.artifact.Artifact> artifacts, Overlay currentProjectOverlay) -
Method Summary
Modifier and TypeMethodDescriptionvoidperformPackaging(WarPackagingContext context) Performs the packaging for the specified task.Methods inherited from class org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludes
-
Field Details
-
TLD_PATH
Thetldpath.- See Also:
-
SERVICES_PATH
Theservicespath.- See Also:
-
MODULES_PATH
Themodulespath.- See Also:
-
EXTENSIONS_PATH
Theextensionspath.- See Also:
-
-
Constructor Details
-
Method Details
-
performPackaging
public void performPackaging(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException Description copied from interface:WarPackagingTaskPerforms 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 occurred
-