public class ClassesPackagingTask extends AbstractWarPackagingTask
WarPackagingContext.archiveClasses()
flag the resources either copied into to
WEB-INF/classes directory or archived in a jar within the WEB-INF/lib directory.CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH
Constructor and Description |
---|
ClassesPackagingTask(Overlay currentProjectOverlay) |
Modifier and Type | Method and Description |
---|---|
protected void |
generateJarArchive(WarPackagingContext context) |
void |
performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludes
public ClassesPackagingTask(Overlay currentProjectOverlay)
public void performPackaging(WarPackagingContext context) throws MojoExecutionException
WarPackagingTask
context
- the packaging contextMojoExecutionException
- if an error occurredprotected void generateJarArchive(WarPackagingContext context) throws MojoExecutionException
MojoExecutionException
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.