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, performPackaging
public String getArtifactType()
getArtifactType
in class AbstractPackagingMojo
public File getDeploymentDescriptor()
AbstractPackagingMojo
getDeploymentDescriptor
in class AbstractPackagingMojo
public File getDeploymentDescriptorDest()
getDeploymentDescriptorDest
in class AbstractPackagingMojo
protected void packageResources() throws Exception
packageResources
in class AbstractPackagingMojo
Exception
protected void packageClasses() throws Exception
packageClasses
in class AbstractPackagingMojo
Exception
protected void packageLib(org.apache.maven.artifact.Artifact artifact, String name) throws Exception
packageLib
in class AbstractPackagingMojo
Exception
Copyright © 2006-2012 Codehaus. All Rights Reserved.