Package org.apache.maven.plugins.ear
Class HarModule
java.lang.Object
org.apache.maven.plugins.ear.AbstractEarModule
org.apache.maven.plugins.ear.HarModule
- All Implemented Interfaces:
EarModule
,JbossEarModule
The
EarModule
implementation for a JBoss Hibernate archive.- Author:
- Stephane Nicoll
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Default type of the artifact of a JBoss Hibernate archive.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 TypeMethodDescriptionvoid
appendJbossModule
(org.codehaus.plexus.util.xml.XMLWriter writer, String version) Appends theXML
representation of this module for the jboss-app.xml file.void
appendModule
(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId) Appends theXML
representation 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 Hibernate archive.- See Also:
-
-
Constructor Details
-
HarModule
public HarModule()Create an instance. -
HarModule
public HarModule(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 theXML
representation of this module.- Specified by:
appendModule
in interfaceEarModule
- Parameters:
writer
- the writer to useversion
- the version of theapplication.xml
filegenerateId
- whether an id should be generated
-
appendJbossModule
Appends theXML
representation of this module for the jboss-app.xml file.- Specified by:
appendJbossModule
in interfaceJbossEarModule
- Parameters:
writer
- the writer to useversion
- the version of thejboss-app.xml
file
-