Full name:
org.apache.maven.plugins:maven-ear-plugin:2.9.1:generate-application-xml
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
workDirectory | File | - | Directory that resources are copied to during the build. Default value is: ${project.build.directory}/${project.build.finalName}. |
Name | Type | Since | Description |
---|---|---|---|
applicationId | String | 2.9 | Defines the application id used when generating the deployment
descriptor. |
applicationName | String | - | Application name of the application to be used when the
application.xml file is auto-generated. Since JavaEE6. |
artifactTypeMappings | PlexusConfiguration | - | The artifact type mappings. |
defaultLibBundleDir | String | - | The default bundle dir for libraries. |
description | String | - | Description of the application to be used when the application.xml
file is auto-generated. Default value is: ${project.description}. |
displayName | String | - | Display name of the application to be used when the application.xml
file is auto-generated. Default value is: ${project.artifactId}. |
encoding | String | - | Character encoding for the auto-generated deployment file(s). Default value is: UTF-8. |
envEntries | PlexusConfiguration | - | The env-entries to be added to the auto-generated application.xml
file. Since JavaEE6. |
fileNameMapping | String | - | The file name mapping to use for all dependencies included in the
EAR file. The following values are valid standard,
{code no-version}, full,
no-version-for-ejb. The standard means
the filename is the artifactId incl. the version of the artifact.
The no-version means the files is only the artifactId
without the version. The full means the filename is
the groupId+artifactId+version of the artifact. The
no-version-for-ejb means the filename is the
artifactId without the version in case of EJB type. |
generateApplicationXml | Boolean | - | Whether the application.xml should be generated or not. Default value is: true. |
generateModuleId | Boolean | - | Whether a module ID should be generated if none is specified. Default value is: false. |
generatedDescriptorLocation | String | - | Directory where the deployment descriptor file(s) will be
auto-generated. Default value is: ${project.build.directory}. |
includeLibInApplicationXml | Boolean | - | Should libraries be added in application.xml Default value is: false. |
initializeInOrder | Boolean | - | Defines the value of the initialize in order element to be used
when the application.xml file is auto-generated. When set to true,
modules must be initialized in the order they're listed in this
deployment descriptor, with the exception of application client
modules, which can be initialized in any order. If
initialize-in-order is not set or set to false, the order of
initialization is unspecified and may be product-dependent. Since
JavaEE6. |
jboss | PlexusConfiguration | - | The JBoss specific configuration. |
libraryDirectoryMode | String | - | Defines how the library-directory element should be
written in the application.xml file. Three special values can be
set:
Default value is: DEFAULT. |
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. |
useBaseVersion | Boolean | 2.9 | When using a fileNameMapping with versions, either use
the baseVersion or the version. When the
artifact is a SNAPSHOT, version will always return a
value with a -SNAPSHOT postfix instead of the possible
timestamped value. |
version | String | - | The version of the application.xml to generate. Valid values are
1.3, 1.4, 5, 6 and 7. Default value is: 1.3. |