Builds J2EE Enteprise Archive (EAR) files.
Mojo Attributes:
testpackage| Name | Type | Description |
|---|---|---|
| earSourceDirectory | File |
Single directory for extra files to include in the EAR. |
| finalName | String |
The name of the EAR file to generate. |
| outputDirectory | String |
The directory for the generated EAR. |
| workDirectory | File |
Directory that resources are copied to during the build. |
| Name | Type | Description |
|---|---|---|
| applicationXml | String |
The location of a custom application.xml file to be used within the ear file. |
| archive | MavenArchiveConfiguration |
The maven archiver to use. |
| archiverManager | ArchiverManager |
The archive manager. |
| artifactTypeMappings | PlexusConfiguration |
The artifact type mappings. |
| classifier | String |
Classifier to add to the artifact generated. If given, the artifact will be an attachment instead. |
| defaultLibBundleDir | String |
The default bundle dir for libraries. |
| earSourceExcludes | String |
The comma separated list of tokens to exclude from the EAR. |
| earSourceIncludes | String |
The comma separated list of tokens to include in the EAR. Default is '**'. |
| encoding | String |
Character encoding for the auto-generated deployment file(s). |
| fileNameMapping | String |
The file name mapping to use for all dependencies included in the EAR file. |
| generatedDescriptorLocation | String |
Directory where the deployment descriptor file(s) will be auto-generated. |
| jboss | PlexusConfiguration |
The JBoss specific configuration. |
| mainArtifactId | String |
The id to use to define the main artifact (e.g. the artifact without a classifier) when there is multiple candidates. |
| manifestFile | File |
The location of the manifest file to be used within the ear file. |
| modules | EarModule[] |
The ear modules configuration. |
| projectHelper | MavenProjectHelper |
No description. |
| resourcesDir | File |
The directory to get the resources from. |
| unpackTypes | String |
The comma separated list of artifact's type(s) to unpack by default. |
java.lang.StringNoorg.apache.maven.archiver.MavenArchiveConfigurationNoorg.codehaus.plexus.archiver.manager.ArchiverManagerNoorg.codehaus.plexus.configuration.PlexusConfigurationNojava.lang.StringNojava.lang.StringNojava.io.FileYes${basedir}/src/main/applicationjava.lang.StringNojava.lang.StringNojava.lang.StringNojava.lang.StringNojava.lang.StringYes${project.build.finalName}java.lang.StringNo${project.build.directory}org.codehaus.plexus.configuration.PlexusConfigurationNojava.lang.StringNojava.io.FileNo${basedir}/src/main/application/META-INF/MANIFEST.MForg.apache.maven.plugin.ear.EarModule[]Nojava.lang.StringYes${project.build.directory}org.apache.maven.project.MavenProjectHelperNojava.io.FileNojava.lang.StringNojava.io.FileYes${project.build.directory}/${project.build.finalName}