org.codehaus.mojo.jboss.packaging
Class SpringMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.packaging.AbstractPackagingMojo
          extended by org.codehaus.mojo.jboss.packaging.SpringMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class SpringMojo
extends AbstractPackagingMojo

Builds a deployable JBoss Spring Archive.

Is bound to the specified phase of the standard build lifecycle:
package
Requires the dependencies in this specified scope:
runtime
Is defined by the goal name:
spring

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SpringMojo()
           
 
Method Summary
 String getArtifactType()
          Get the type of the artifact.
 File getDeploymentDescriptor()
          Return the name of the jboss-spring deployment descriptor (jboss-spring.xml).
 
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 org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringMojo

public SpringMojo()
Method Detail

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.