Package org.apache.maven.plugins.ear
Class SarModule
java.lang.Object
org.apache.maven.plugins.ear.AbstractEarModule
org.apache.maven.plugins.ear.SarModule
- All Implemented Interfaces:
 EarModule,JbossEarModule
- Author:
 - kama
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault type of the artifact of a JBoss sar module.Fields inherited from class org.apache.maven.plugins.ear.AbstractEarModule
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, classPathItem, earExecutionContext, excluded, JAVA_MODULE, libDirectory, MODULE_ELEMENT, type, unpack - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidappendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version) Appends theXMLrepresentation of this module for the jboss-app.xml file.voidappendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId) Appends theXMLrepresentation of this module.Methods inherited from class org.apache.maven.plugins.ear.AbstractEarModule
changeManifestClasspath, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getType, getUri, isClassPathItem, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor 
- 
Field Details
- 
DEFAULT_ARTIFACT_TYPE
Default type of the artifact of a JBoss sar module.- See Also:
 
 
 - 
 - 
Constructor Details
- 
SarModule
public SarModule()Create an instance. - 
SarModule
public SarModule(org.apache.maven.artifact.Artifact a) - Parameters:
 a-Artifact
 
 - 
 - 
Method Details
- 
appendModule
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId) Appends theXMLrepresentation of this module.- Specified by:
 appendModulein interfaceEarModule- Parameters:
 writer- the writer to useversion- the version of theapplication.xmlfilegenerateId- whether an id should be generated
 - 
appendJbossModule
Appends theXMLrepresentation of this module for the jboss-app.xml file.- Specified by:
 appendJbossModulein interfaceJbossEarModule- Parameters:
 writer- the writer to useversion- the version of thejboss-app.xmlfile
 
 -