Package org.apache.maven.plugin.ear
Class SarModule
- java.lang.Object
-
- org.apache.maven.plugin.ear.AbstractEarModule
-
- org.apache.maven.plugin.ear.SarModule
-
- All Implemented Interfaces:
EarModule
,JbossEarModule
public class SarModule extends AbstractEarModule implements JbossEarModule
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
SAR_MODULE
-
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarModule
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, earExecutionContext, excluded, JAVA_MODULE, MODULE_ELEMENT, unpack
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version)
Appends the XML representation of this module for the jboss-app.xml file.void
appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version, java.lang.Boolean generateId)
Appends the XML representation of this module.java.lang.String
getType()
Returns the type associated to the module.-
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarModule
areNullOrEqual, changeManifestClasspath, cleanBundleDir, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getOriginalBundleFileName, getUri, isExcluded, resolveArtifact, setEarExecutionContext, setUri, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor
-
-
-
-
Field Detail
-
SAR_MODULE
private static final java.lang.String SAR_MODULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
appendModule
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version, java.lang.Boolean generateId)
Appends the XML representation of this module.- Specified by:
appendModule
in interfaceEarModule
- Parameters:
writer
- the writer to useversion
- the version of the application.xml filegenerateId
- whether an id should be generated
-
appendJbossModule
public void appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version)
Appends the XML representation of this module for the jboss-app.xml file.- Specified by:
appendJbossModule
in interfaceJbossEarModule
- Parameters:
writer
- the writer to useversion
- the version of the jboss-app.xml file
-
-