Apache Maven WAR Plugin Version 3.1.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.1.0.

The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive.

You should specify the version in your project's plugin configuration:

1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-war-plugin</artifactId>
4  <version>3.1.0</version>
5</plugin>

You can download the appropriate sources etc. from the download page.

Important Note:

  • Maven 3.X only
  • JDK 6 minimum requirement

Release Notes - Maven WAR Plugin - Version 3.1.0

Bugs:

  • MWAR-257 - - Restore dependentWarExcludes/Includes since there is no alternative on global level
  • MWAR-398 - - Upgrade of plexus-interpolation to 1.24 to correct escaping issue.
  • MWAR-400 - - Upgrade the WAR lifecycle to use the maven-resources-plugin 3.0.2
  • MWAR-404 - - true</> is not honored
  • MWAR-405 - - Workaround XStream incompatibility with Java9

New Feature:

  • MWAR-396 - - Check the existence of the web.xml based on the existence of particular classes

Enjoy,

-The Apache Maven team