public interface EarModule
Modifier and Type | Method and Description |
---|---|
void |
appendModule(org.codehaus.plexus.util.xml.XMLWriter writer,
String version,
Boolean generateId)
Appends the XML representation of this module.
|
boolean |
changeManifestClasspath() |
String |
getAltDeploymentDescriptor()
The alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor file for a
particular Java EE module.
|
Artifact |
getArtifact()
Returns the
Artifact representing this module. |
String |
getLibDir() |
String |
getType()
Returns the type associated to the module.
|
String |
getUri()
Returns the URI for this module.
|
boolean |
isExcluded()
Specify whether this module should be excluded or not.
|
void |
resolveArtifact(Set<Artifact> artifacts)
Resolves the
Artifact represented by the module. |
void |
setEarExecutionContext(EarExecutionContext earExecutionContext) |
Boolean |
shouldUnpack()
Specify whether this module should be unpacked in the EAR archive or not.
|
Artifact getArtifact()
Artifact
representing this module.
Note that this might return null till the module has been resolved.resolveArtifact(java.util.Set)
String getUri()
String getType()
boolean isExcluded()
Boolean shouldUnpack()
String getAltDeploymentDescriptor()
void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId)
writer
- the writer to useversion
- the version of the application.xml filegenerateId
- whether an id should be generatedvoid resolveArtifact(Set<Artifact> artifacts) throws EarPluginException, MojoFailureException
Artifact
represented by the module. Note that the EarExecutionContext
might be used
to customize further the resolution.artifacts
- the project's artifactsEarPluginException
- if the artifact could not be resolvedMojoFailureException
- if an unexpected error occurredvoid setEarExecutionContext(EarExecutionContext earExecutionContext)
earExecutionContext
- The execution context.boolean changeManifestClasspath()
String getLibDir()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.