org.codehaus.mojo.jboss.packaging
Class SpringMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
org.codehaus.mojo.jboss.packaging.SpringMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class SpringMojo
- extends AbstractPackagingMojo
Builds a deployable JBoss Spring Archive.
- Requires the dependencies in this specified scope:
- runtime
- Is defined by the goal name:
- spring
- Mojo is thread safe:
- true
- Is bound to the specified phase of the standard build lifecycle:
- package
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo |
buildExplodedPackaging, buildExplodedPackaging, buildSpecificPackaging, execute, getArchiveName, getClassesDirectory, getDeploymentDescriptorDest, getDeploymentDescriptorDestName, getLibDirectory, getOutputDirectory, getPackagingDirectory, getProject, isExplodedOnly, packageClasses, packageLib, packageResources, performPackaging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringMojo
public SpringMojo()
getDeploymentDescriptor
public File getDeploymentDescriptor()
- Return the name of the jboss-spring deployment descriptor (jboss-spring.xml).
- Specified by:
getDeploymentDescriptor
in class AbstractPackagingMojo
- Returns:
- Filename of the jboss spring deployment descriptor
getArtifactType
public String getArtifactType()
- Get the type of the artifact.
- Specified by:
getArtifactType
in class AbstractPackagingMojo
- Returns:
- The type of the generated artifact.
Copyright © 2006-2011 Codehaus. All Rights Reserved.