| --- |
| layout: post |
| title: Apache Maven AntRun Plugin Version 3.0.0 Released |
| date: '2020-04-15T23:58:15+00:00' |
| permalink: apache-maven-antrun-plugin-version |
| --- |
| <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-antrun-plugin/">Apache
|
| Maven AntRun Plugin, version 3.0.0</a>.</p>
|
|
|
| <p>This plugin provides the ability to run Ant tasks from within Maven. You can even embed your Ant
|
| scripts in the POM!</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-antrun-plugin<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>3.0.0<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 <a href="https://maven.apache.org/shared/maven-archiver/download.cgi">appropriate sources etc. from the download page</a></p>
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317921&version=12346981">Release Notes – Maven AntRunPlugin – Version 3.0.0</a></p>
|
|
|
| <ul>
|
| <li><p>Bugs:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-172">MANTRUN-172</a> – Properties passed to Maven as -D don’t get passed to <ant> invocations when a profile sets the same property</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-178">MANTRUN-178</a> – Ignore precedence of mvn command line over property defined in <properties> section</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-179">MANTRUN-179</a> – Seems impossible to use combine.* attributes with maven-antrun-plugin configuration</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-181">MANTRUN-181</a> – AttachArtifact task does not work in external Ant build file</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-192">MANTRUN-192</a> – filterArtifacts in DependencyFilesetsTask includes entire maven.local.repository</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-204">MANTRUN-204</a> – antrun loops the backing map of java.util.Properties withouth checking type safety</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-205">MANTRUN-205</a> – maven-antrun-plugin pages at maven.apache.org still have bad url codehaus references</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-221">MANTRUN-221</a> – Fails to pass maven properties set in user properties only</li>
|
| </ul>
|
| </li>
|
| <li><p>Improvements:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-201">MANTRUN-201</a> – Migrate plugin to Maven 3.0</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-202">MANTRUN-202</a> – Fail the build when deprecated parameters tasks, sourceRoot or testSourceRoot are used</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-217">MANTRUN-217</a> – Require Java 7</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-222">MANTRUN-222</a> – make build Reproducible, upgrade maven-plugins pom to 34</li>
|
| </ul>
|
| </li>
|
| <li><p>Tasks:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-209">MANTRUN-209</a> – Add documentation information for GitHub</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-211">MANTRUN-211</a> – Upgrade mave-surefire/failsafe-plugin 2.21.0</li>
|
| </ul>
|
| </li>
|
| <li><p>Dependency upgrades:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-203">MANTRUN-203</a> – Upgrade to maven-plugins 30</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-210">MANTRUN-210</a> – Upgrade parent to 31</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-212">MANTRUN-212</a> – Upgrade plexus-utils 3.1.0</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-213">MANTRUN-213</a> – Upgrade plexus-utils 3.1.0</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-214">MANTRUN-214</a> – upgrade default Ant version to 1.9.14</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-215">MANTRUN-215</a> – Upgrade maven-plugins parent to version 32</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-218">MANTRUN-218</a> – Upgrade JUnit to 4.13</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MANTRUN-219">MANTRUN-219</a> – Upgrade XMLUnit to 2.6.4 (test dependency)</li>
|
| </ul>
|
| </li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Apache Maven team</p>
|
| </div> |