Full name:
org.apache.maven.plugins:maven-ear-plugin:2.5:ear
Description:
Attributes:
test
.package
.Name | Type | Since | Description |
---|---|---|---|
earSourceDirectory | File |
- |
Single directory for extra files to include in the EAR. Default value is: ${basedir}/src/main/application . |
finalName | String |
- |
The name of the EAR file to generate. Default value is: ${project.build.finalName} . |
outputDirectory | String |
- |
The directory for the generated EAR. 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. |
earSourceIncludes | String |
- |
The comma separated list of tokens to include in the EAR. Default value is: ** . |
encoding | String |
- |
Character encoding for the auto-generated deployment file(s). Default value is: UTF-8 . |
escapeString | String |
2.3.2 |
Expression preceded with the 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 |
- |
The file name mapping to use for all dependencies included in the
EAR file. |
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. |
manifestFile | File |
- |
The location of the manifest file to be used within the ear file.
If not value if specified, the default location in the
workDirectory is taken. If the file does not exist, a manifest will
be generated automatically. |
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. |
resourcesDir | File |
- |
Deprecated. please use earSourcesDirectory instead |
unpackTypes | String |
- |
The comma separated list of artifact's type(s) to unpack by
default. |
version | String |
- |
The version of the application.xml to generate. Valid values are
1.3, 1.4, 5 and 6. Default value is: 1.3 . |
java.lang.String
No
org.apache.maven.archiver.MavenArchiveConfiguration
No
org.codehaus.plexus.configuration.PlexusConfiguration
No
java.lang.String
No
java.lang.String
No
java.io.File
Yes
${basedir}/src/main/application
java.lang.String
No
java.lang.String
No
**
java.lang.String
No
UTF-8
java.lang.String
2.3.2
No
${maven.ear.escapeString}
boolean
2.3.2
No
${maven.ear.escapedBackslashesInFilePath}
false
java.lang.String
No
boolean
2.3.2
No
false
java.util.List
2.3.2
No
java.lang.String
Yes
${project.build.finalName}
java.lang.String
No
${project.build.directory}
java.lang.Boolean
No
false
org.codehaus.plexus.configuration.PlexusConfiguration
No
java.lang.String
No
java.io.File
No
org.apache.maven.plugin.ear.EarModule[]
No
java.util.List
2.3.2
No
java.lang.String
Yes
${project.build.directory}
java.io.File
No
java.lang.String
No
java.lang.String
No
1.3
java.io.File
Yes
${project.build.directory}/${project.build.finalName}