org.alfresco.maven.plugin.amp.packaging
Class ClassesPackagingTask
java.lang.Object
org.alfresco.maven.plugin.amp.packaging.AbstractAmpPackagingTask
org.alfresco.maven.plugin.amp.packaging.ClassesPackagingTask
- All Implemented Interfaces:
- AmpPackagingTask
public class ClassesPackagingTask
- extends AbstractAmpPackagingTask
Handles the classes directory that needs to be packaged in the web application.
Based on the AmpPackagingContext#archiveClasses()
flag the resources
either copied into to WEB-INF/classes directory or archived in a jar
within the WEB-INF/lib directory.
- Author:
- Stephane Nicoll
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassesPackagingTask
public ClassesPackagingTask()
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
generateJarArchive
protected void generateJarArchive(AmpPackagingContext context)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009 Alfresco. All Rights Reserved.