public class ClassesPackagingTask extends AbstractWarPackagingTask
WarPackagingContext.archiveClasses()
flag, the resources are 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)
currentProjectOverlay
- currentProjectOverlay
public void performPackaging(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException
WarPackagingTask
context
- the packaging contextorg.apache.maven.plugin.MojoExecutionException
- if an error occurredprotected void generateJarArchive(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException
context
- The warPackingContext.org.apache.maven.plugin.MojoExecutionException
- In case of an error.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.