A Mojo that generates the EAR deployment descriptor file(s).
Mojo Attributes:
testgenerate-resources| Name | Type | Description |
|---|---|---|
| workDirectory | File |
Directory that resources are copied to during the build. |
| Name | Type | Description |
|---|---|---|
| artifactTypeMappings | PlexusConfiguration |
The artifact type mappings. |
| defaultLibBundleDir | String |
The default bundle dir for libraries. |
| description | String |
Description of the application to be used when application.xml file is autogenerated. |
| displayName | String |
Display name of the application to be used when application.xml file is autogenerated. |
| 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. |
| generateApplicationXml | Boolean |
Whether the application.xml should be generated or not. |
| 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. |
| modules | EarModule[] |
The ear modules configuration. |
| security | PlexusConfiguration |
The security-roles to be added to the auto-generated application.xml file. |
| version | String |
The version of the application.xml to generate. Valid values are 1.3, 1.4 and 5. |
org.codehaus.plexus.configuration.PlexusConfigurationNojava.lang.StringNojava.lang.StringNo${project.description}java.lang.StringNo${project.artifactId}java.lang.StringNojava.lang.StringNojava.lang.BooleanNojava.lang.StringNo${project.build.directory}org.codehaus.plexus.configuration.PlexusConfigurationNojava.lang.StringNoorg.apache.maven.plugin.ear.EarModule[]Noorg.codehaus.plexus.configuration.PlexusConfigurationNojava.lang.StringNojava.io.FileYes${project.build.directory}/${project.build.finalName}