Full name:
org.apache.maven.plugins:maven-war-plugin:2.1-alpha-2:war
Description:
Attributes:
runtime.package.| Name | Type | Since | Description |
|---|---|---|---|
| cacheFile | File |
2.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 |
- |
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 |
- |
Whether classes (that is the content of the WEB-INF/classes
directory) should be attached to the project. Default value is: false. |
| classesClassifier | String |
- |
The classifier to use for the attached classes artifact. Default value is: classes. |
| classifier | String |
- |
Classifier to add to the artifact generated. If given, the artifact will be an attachment instead. |
| containerConfigXML | File |
- |
The path to the context.xml file to use. |
| dependentWarExcludes | String |
- |
Deprecated. use the excludes in the overlay object instead |
| dependentWarIncludes | String |
- |
Deprecated. use the includes in the overlay object instead |
| escapedBackslashesInFilePath | boolean |
2.1-alpha-2 |
To escape interpolated value with windows path c:\foo\bar will be
replace with c\:\\foo\\bar Default value is: false. |
| failOnMissingWebXml | boolean |
- |
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.0.3 |
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 |
- |
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. |
| 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 |
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.MavenArchiveConfigurationNobooleanNo${archiveClasses}falsebooleanNofalsejava.io.File2.1Yes${project.build.directory}/war/work/webapp-cache.xmljava.lang.StringNoclassesjava.lang.StringNojava.io.FileNo${maven.war.containerConfigXML}java.lang.StringNojava.lang.StringNoboolean2.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.booleanNo${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.0.3Nojava.util.List2.1Nojava.lang.StringNofalse 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.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