|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver,
org.apache.maven.project.MavenProject project,
org.apache.maven.archiver.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, org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver, org.apache.maven.project.MavenProject project, org.apache.maven.archiver.MavenArchiveConfiguration archiveConfiguration) throws org.apache.maven.plugin.MojoExecutionException
classesDirectory
- the classes directorytargetFile
- the target filejarArchiver
- the jar archiver to useproject
- the related projectarchiveConfiguration
- the archive configuration to use
org.apache.maven.plugin.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 |