|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.war.packaging.AbstractWarPackagingTask
org.apache.maven.plugin.war.packaging.ClassesPackagingTask
public class ClassesPackagingTask
Handles the classes directory that needs to be packaged in the web application.
Based on theWarPackagingContext.archiveClasses() flag the resources
either copied into to WEB-INF/classes directory or archived in a jar
within the WEB-INF/lib directory.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask |
|---|
CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH |
| Constructor Summary | |
|---|---|
ClassesPackagingTask(Overlay currentProjectOverlay)
|
|
| Method Summary | |
|---|---|
protected void |
generateJarArchive(WarPackagingContext context)
|
void |
performPackaging(WarPackagingContext context)
Performs the packaging for the specified task. |
| Methods inherited from class org.apache.maven.plugin.war.packaging.AbstractWarPackagingTask |
|---|
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 |
| Constructor Detail |
|---|
public ClassesPackagingTask(Overlay currentProjectOverlay)
| Method Detail |
|---|
public void performPackaging(WarPackagingContext context)
throws org.apache.maven.plugin.MojoExecutionException
WarPackagingTask
context - the packaging context
org.apache.maven.plugin.MojoExecutionException - if an error occurred
protected void generateJarArchive(WarPackagingContext context)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||