org.apache.maven.plugin.war.packaging
Class ArtifactsPackagingTask

java.lang.Object
  extended by org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask
      extended by org.apache.maven.plugin.war.packaging.ArtifactsPackagingTask
All Implemented Interfaces:
WarPackagingTask

public class ArtifactsPackagingTask
extends AbstractWarPackagingTask

Handles the artifacts that needs to be packaged in the web application.

Version:
$Id: ArtifactsPackagingTask.html 868453 2013-07-05 11:25:41Z olamy $
Author:
Stephane Nicoll

Field Summary
static String EXTENSIONS_PATH
           
static String MODULES_PATH
           
static String SERVICES_PATH
           
static String TLD_PATH
           
 
Fields inherited from class org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask
CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH
 
Constructor Summary
ArtifactsPackagingTask(Set<Artifact> artifacts, Overlay currentProjectOverlay)
           
 
Method Summary
 void performPackaging(WarPackagingContext context)
          Performs the packaging for the specified task.
 
Methods inherited from class org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TLD_PATH

public static final String TLD_PATH
See Also:
Constant Field Values

SERVICES_PATH

public static final String SERVICES_PATH
See Also:
Constant Field Values

MODULES_PATH

public static final String MODULES_PATH
See Also:
Constant Field Values

EXTENSIONS_PATH

public static final String EXTENSIONS_PATH
See Also:
Constant Field Values
Constructor Detail

ArtifactsPackagingTask

public ArtifactsPackagingTask(Set<Artifact> artifacts,
                              Overlay currentProjectOverlay)
Method Detail

performPackaging

public void performPackaging(WarPackagingContext context)
                      throws MojoExecutionException
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:
MojoExecutionException - if an error occurred


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.