| --- |
| layout: post |
| title: Apache Maven WAR Plugin Version 3.2.1 Released |
| date: '2018-05-13T00:00:00+00:00' |
| categories: maven |
| --- |
| <div class="entry-content"><p>The Apache Maven team is pleased to announce the release of the
|
| <a href="http://maven.apache.org/plugins/maven-war-plugin/">Apache Maven WAR Plugin, version 3.2.1</a>.</p>
|
|
|
| <p>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.</p>
|
|
|
| <p>You should specify the version in your project’s plugin configuration:</p>
|
|
|
| <figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
| <span class='line-number'>2</span>
|
| <span class='line-number'>3</span>
|
| <span class='line-number'>4</span>
|
| <span class='line-number'>5</span>
|
| </pre></td><td class='code'><pre><code class='xml'><span class='line'><span class="nt"><plugin></span>
|
| </span><span class='line'> <span class="nt"><groupId></span>org.apache.maven.plugins<span class="nt"></groupId></span>
|
| </span><span class='line'> <span class="nt"><artifactId></span>maven-war-plugin<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>3.2.1<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre></td></tr></table></div></figure>
|
|
|
|
|
| <p>You can download the appropriate sources etc. from the <a href="https://maven.apache.org/plugins/maven-war-plugin/download.cgi">download page</a>.</p>
|
|
|
| <p>Important Note:</p>
|
|
|
| <ul>
|
| <li>Maven 3.X only</li>
|
| <li>JDK 7 minimum requirement</li>
|
| </ul>
|
|
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318121&version=12341729">Release Notes – Maven WAR Plugin – Version 3.1.0</a></p>
|
|
|
| <p>Improvement:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MWAR-412">MWAR-412</a> – Upgrade parent to 31</li>
|
| </ul>
|
|
|
|
|
| <p>Task:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MWAR-401">MWAR-401</a> – Upgrade the WAR lifecycle to use the maven-compiler-plugin 3.7.0</li>
|
| </ul>
|
|
|
|
|
| <p>Dependency upgrades:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MWAR-413">MWAR-413</a> – Upgrade xstream to 1.4.10</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MWAR-414">MWAR-414</a> – Upgrade mave-surefire/failsafe-plugin 2.21.0</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MWAR-416">MWAR-416</a> – Upgrade plexus-archiver to 3.6.0</li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Apache Maven team</p>
|
| </div>
|