Full name:
org.apache.maven.plugins:maven-ear-plugin:3.0.0:ear
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<earSourceDirectory> | File | - | Single directory for extra files to include in the EAR. Default value is: ${basedir}/src/main/application. |
<outputDirectory> | String | - | The directory for the generated EAR. Default value is: ${project.build.directory}. |
<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 |
---|---|---|---|
<applicationXml> | String | - | The location of a custom application.xml file to be used within the
EAR file. |
<archive> | MavenArchiveConfiguration | - | The archive configuration to use. See Maven
Archiver Reference. |
<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. Alias is: excludes. |
<earSourceIncludes> | String | - | The comma separated list of tokens to include in the EAR. Default value is: **. Alias is: includes. |
<encoding> | String | - | Character encoding for the auto-generated deployment file(s). Default value is: UTF-8. |
<escapeString> | String | 2.3.2 | Expression preceded with this String won't be interpolated \${foo}
will be replaced with ${foo}. |
<escapedBackslashesInFilePath> | boolean | 2.3.2 | To escape interpolated value with Windows path c:\foo\bar will be
replaced with c:\\foo\\bar. Default value is: false. |
<fileNameMapping> | String | - | Deprecated. No reason given |
<filtering> | boolean | 2.3.2 | Specify that the EAR sources should be filtered. Default value is: false. |
<filters> | List | 2.3.2 | Filters (property files) to include during the interpolation of the
pom.xml. |
<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. |
<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. |
<nonFilteredFileExtensions> | List | 2.3.2 | A list of file extensions that should not be filtered if filtering
is enabled. |
<packagingExcludes> | String | 2.7 | A comma separated list of tokens to exclude when packaging the EAR.
By default nothing is excluded. Note that you can use the Java
Regular Expressions engine to include and exclude specific pattern
using the expression %regex[]. Hint: read the about (?!Pattern). |
<packagingIncludes> | String | 2.7 | A comma separated list of tokens to include when packaging the EAR.
By default everything is included. Note that you can use the Java
Regular Expressions engine to include and exclude specific pattern
using the expression %regex[]. |
<skinnyWars> | boolean | 2.7 | Whether to create skinny WARs or not. A skinny WAR is a WAR that
does not have all of its dependencies in WEB-INF/lib. Instead those
dependencies are shared between the WARs through the EAR. Default value is: false. |
<skipClassPathModification> | boolean | 2.10 | In case of using the skinnyWars and
defaultLibBundleDir usually the classpath will be
modified. By settings this option true you can change
this and keep the classpath untouched. This option has been
introduced to keep the backward compatibility with earlier versions
of the plugin. Default value is: false. |
<unpackTypes> | String | - | The comma separated list of artifact's type(s) to unpack by
default. |
<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. |
<useJvmChmod> | boolean | 2.9 | (no description) Default value is: true. |
<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. |