Full name:
org.apache.maven.plugins:maven-ear-plugin:3.0.1:generate-application-xml
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<outputFileNameMapping> | String | 3.0.0 | The file name mapping to use for all dependencies included in the
EAR file. The mapping between artifacts and the file names which is
used within the EAR file. Details see Maven
Mapping Reference. Default value is: @{groupId}@-@{artifactId}@-@{version}@@{dashClassifier?}@.@{extension}@. |
<tempFolder> | File | - | temp folder location. Default value is: ${project.build.directory}. |
<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}. |
<ejbRefs> | PlexusConfiguration | - | The ejb-ref entries. Alias is: ejb-refs. |
<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. Alias is: env-entries. |
<fileNameMapping> | String | - | Deprecated. No reason given |
<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. |
<resourceRefs> | PlexusConfiguration | - | The resource-ref entries. |
<security> | PlexusConfiguration | - | The security-roles to be added to the auto-generated
application.xml file. |
<useBaseVersion> | Boolean | - | When using a outputFileNameMapping 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, 7 and 8. Default value is: 7. |