public class ParMojo extends AbstractPackagingMojo
| Constructor and Description |
|---|
ParMojo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactType()
Get the type of the artifact.
|
File |
getDeploymentDescriptor()
Get the deployment descriptor file.
|
File |
getDeploymentDescriptorDest() |
protected void |
packageClasses()
Overrides the default implementation so classes are packaged under a subdirectory.
|
protected void |
packageLib(org.apache.maven.artifact.Artifact artifact,
String name)
Overrides the default implementation to explode the depdencies into the classes directory.
|
protected void |
packageResources()
Packages the par-specific resources.
|
buildExplodedPackaging, buildExplodedPackaging, buildSpecificPackaging, execute, getArchiveName, getClassesDirectory, getDeploymentDescriptorDestName, getLibDirectory, getOutputDirectory, getPackagingDirectory, getProject, isExplodedOnly, performPackagingpublic String getArtifactType()
getArtifactType in class AbstractPackagingMojopublic File getDeploymentDescriptor()
AbstractPackagingMojogetDeploymentDescriptor in class AbstractPackagingMojopublic File getDeploymentDescriptorDest()
getDeploymentDescriptorDest in class AbstractPackagingMojoprotected void packageResources()
throws Exception
packageResources in class AbstractPackagingMojoExceptionprotected void packageClasses()
throws Exception
packageClasses in class AbstractPackagingMojoExceptionprotected void packageLib(org.apache.maven.artifact.Artifact artifact,
String name)
throws Exception
packageLib in class AbstractPackagingMojoExceptionCopyright © 2006-2012 Codehaus. All Rights Reserved.