|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.war.util.ClassesPackager
public class ClassesPackager
Packages the content of the classes directory.
| Constructor Summary | |
|---|---|
ClassesPackager()
Creates a new instance. |
|
| Method Summary | |
|---|---|
File |
getClassesDirectory(File webappDirectory)
Returns the classes directory from the specified webapp directory. |
void |
packageClasses(File classesDirectory,
File targetFile,
JarArchiver jarArchiver,
MavenSession session,
MavenProject project,
MavenArchiveConfiguration archiveConfiguration)
Package the classes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassesPackager()
| Method Detail |
|---|
public void packageClasses(File classesDirectory,
File targetFile,
JarArchiver jarArchiver,
MavenSession session,
MavenProject project,
MavenArchiveConfiguration archiveConfiguration)
throws MojoExecutionException
classesDirectory - the classes directorytargetFile - the target filejarArchiver - the jar archiver to usesession - the current sessionproject - the related projectarchiveConfiguration - the archive configuration to use
MojoExecutionException - if an error occurred while creating the archivepublic File getClassesDirectory(File webappDirectory)
webappDirectory - the webapp directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||