Full name:
org.apache.maven.plugins:maven-war-plugin:2.1-beta-1:war
Description:
Attributes:
runtime.package.| Name | Type | Since | Description |
|---|---|---|---|
| cacheFile | File |
2.1-alpha-1 |
The file containing the webapp structure cache. |
| outputDirectory | String |
- |
The directory for the generated WAR. |
| warName | String |
- |
The name of the generated WAR. |
| warSourceDirectory | File |
- |
Single directory for extra files to include in the WAR. |
| webappDirectory | File |
- |
The directory where the webapp is built. |
| workDirectory | File |
- |
Directory to unpack dependent WARs into if needed |
| Name | Type | Since | Description |
|---|---|---|---|
| archive | MavenArchiveConfiguration |
- |
The archive configuration to use. See Maven
Archiver Reference. |
| archiveClasses | boolean |
2.0.1 |
Whether a JAR file will be created for the classes in the webapp.
Using this optional configuration parameter will make the generated
classes to be archived into a jar file and the classes directory
will then be excluded from the webapp. Default value is: false. |
| attachClasses | boolean |
2.1-alpha-2 |
Whether classes (that is the content of the WEB-INF/classes
directory) should be attached to the project. Default value is: false. |
| classesClassifier | String |
2.1-alpha-2 |
The classifier to use for the attached classes artifact. Default value is: classes. |
| classifier | String |
- |
Classifier to add to the generated WAR. If given, the artifact will
be an attachment instead. The classifier will not be applied to the
jar file of the project - only to the war file. |
| containerConfigXML | File |
- |
The path to the context.xml file to use. |
| dependentWarExcludes | String |
- |
Deprecated. {0}. use the excludes in the overlay object instead |
| dependentWarIncludes | String |
- |
Deprecated. {0}. use the includes in the overlay object instead |
| escapeString | String |
2.1-beta-1 |
Expression preceded with the String won't be interpolated \${foo}
will be replaced with ${foo} |
| escapedBackslashesInFilePath | boolean |
2.1-alpha-2 |
To escape interpolated value with windows path c:\foo\bar will be
replaced with c:\\foo\\bar Default value is: false. |
| failOnMissingWebXml | boolean |
2.1-alpha-2 |
Whether or not to fail the build is the web.xml file
is missing. Set to false if you want you war built
without a web.xml file.Default value is: true. |
| filteringDeploymentDescriptors | boolean |
2.1-alpha-2 |
To filtering deployment descriptors disabled by default Default value is: false. |
| filters | List |
- |
Filters (property files) to include during the interpolation of the
pom.xml. |
| nonFilteredFileExtensions | List |
2.1-alpha-2 |
A list of file extensions to not filtering. will be used for
webResources and overlay filtering |
| outputFileNameMapping | String |
2.1-alpha-1 |
The file name mapping to use to copy libraries and tlds. If no file
mapping is set (default) the file is copied with its standard name. |
| overlays | List |
2.1 |
The overlays to apply. |
| packagingExcludes | String |
2.1-alpha-2 |
The comma separated list of tokens to exclude from the WAR before
packaging. This option may be used to implement the skinny war use
case. |
| packagingIncludes | String |
2.1-beta-1 |
The comma separated list of tokens to include in the WAR before
packaging. By default everything is included. This option may be
used to implement the skinny war use case. |
| primaryArtifact | boolean |
- |
Whether this is the main artifact being built. Set to
false if you don't want to install or deploy it to the
local repository instead of the default one in an execution.Default value is: true. |
| useCache | boolean |
2.1-alpha-1 |
Whether the cache should be used to save the status of the webapp
accross multiple runs. Default value is: true. |
| warSourceExcludes | String |
- |
The comma separated list of tokens to exclude when copying content
of the warSourceDirectory. |
| warSourceIncludes | String |
- |
The comma separated list of tokens to include when copying content
of the warSourceDirectory. Default is '**'. |
| webResources | Resource[] |
- |
The list of webResources we want to transfer. |
| webXml | File |
- |
The path to the web.xml file to use. |
org.apache.maven.archiver.MavenArchiveConfigurationNoboolean2.0.1No${archiveClasses}falseboolean2.1-alpha-2Nofalsejava.io.File2.1-alpha-1Yes${project.build.directory}/war/work/webapp-cache.xmljava.lang.String2.1-alpha-2Noclassesjava.lang.StringNojava.io.FileNo${maven.war.containerConfigXML}java.lang.StringNojava.lang.StringNojava.lang.String2.1-beta-1No${maven.war.escapeString}boolean2.1-alpha-2No${maven.war.escapedBackslashesInFilePath}falseweb.xml file
is missing. Set to false if you want you war built
without a web.xml file.boolean2.1-alpha-2No${failOnMissingWebXml}truefilteringDeploymentDescriptors:
boolean2.1-alpha-2No${maven.war.filteringDeploymentDescriptors}falsejava.util.ListNojava.util.List2.1-alpha-2Nojava.lang.StringYes${project.build.directory}java.lang.String2.1-alpha-1Nojava.util.List2.1Nojava.lang.String2.1-alpha-2Nojava.lang.String2.1-beta-1Nofalse if you don't want to install or deploy it to the
local repository instead of the default one in an execution.booleanNo${primaryArtifact}trueboolean2.1-alpha-1No${useCache}truejava.lang.StringYes${project.build.finalName}java.io.FileYes${basedir}/src/main/webappjava.lang.StringNojava.lang.StringNoorg.apache.maven.model.Resource[]Nojava.io.FileNo${maven.war.webxml}java.io.FileYes${project.build.directory}/${project.build.finalName}java.io.FileYes${project.build.directory}/war/work