org.alfresco.maven.plugin.amp.packaging
Class ArtifactsPackagingTask

java.lang.Object
  extended by org.alfresco.maven.plugin.amp.packaging.AbstractAmpPackagingTask
      extended by org.alfresco.maven.plugin.amp.packaging.ArtifactsPackagingTask
All Implemented Interfaces:
AmpPackagingTask

public class ArtifactsPackagingTask
extends AbstractAmpPackagingTask

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

Author:
Stephane Nicoll

Field Summary
static String LIB_PATH
           
 
Fields inherited from class org.alfresco.maven.plugin.amp.packaging.AbstractAmpPackagingTask
DEFAULT_INCLUDES, META_INF_PATH
 
Constructor Summary
ArtifactsPackagingTask(Set artifacts)
           
 
Method Summary
 void performPackaging(AmpPackagingContext context)
          Performs the packaging for the specified task.
 
Methods inherited from class org.alfresco.maven.plugin.amp.packaging.AbstractAmpPackagingTask
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getFilesToIncludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIB_PATH

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

ArtifactsPackagingTask

public ArtifactsPackagingTask(Set artifacts)
Method Detail

performPackaging

public void performPackaging(AmpPackagingContext context)
                      throws org.apache.maven.plugin.MojoExecutionException
Description copied from interface: AmpPackagingTask
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 occured


Copyright © 2009 Alfresco. All Rights Reserved.