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, getFilesToIncludespublic ClassesPackagingTask(Overlay currentProjectOverlay)
currentProjectOverlay - currentProjectOverlaypublic void performPackaging(WarPackagingContext context) throws MojoExecutionException
context - the packaging contextMojoExecutionException - if an error occurredprotected void generateJarArchive(WarPackagingContext context) throws MojoExecutionException
context - The warPackingContext.MojoExecutionException - In casae of an error.Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.