The Apache Maven team is pleased to announce the release of the Apache
Maven AntRun Plugin, version 3.0.0
.

This plugin provides the ability to run Ant tasks from within Maven. You can even embed your Ant
scripts in the POM!

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

1
2
3
4
5

  org.apache.maven.plugins
  maven-antrun-plugin
  3.0.0

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

Release Notes – Maven AntRunPlugin – Version 3.0.0

  • Bugs:

    • MANTRUN-172 – Properties passed to Maven as -D don’t get passed to invocations when a profile sets the same property
    • MANTRUN-178 – Ignore precedence of mvn command line over property defined in section
    • MANTRUN-179 – Seems impossible to use combine.* attributes with maven-antrun-plugin configuration
    • MANTRUN-181 – AttachArtifact task does not work in external Ant build file
    • MANTRUN-192 – filterArtifacts in DependencyFilesetsTask includes entire maven.local.repository
    • MANTRUN-204 – antrun loops the backing map of java.util.Properties withouth checking type safety
    • MANTRUN-205 – maven-antrun-plugin pages at maven.apache.org still have bad url codehaus references
    • MANTRUN-221 – Fails to pass maven properties set in user properties only
  • Improvements:

    • MANTRUN-201 – Migrate plugin to Maven 3.0
    • MANTRUN-202 – Fail the build when deprecated parameters tasks, sourceRoot or testSourceRoot are used
    • MANTRUN-217 – Require Java 7
    • MANTRUN-222 – make build Reproducible, upgrade maven-plugins pom to 34
  • Tasks:

    • MANTRUN-209 – Add documentation information for GitHub
    • MANTRUN-211 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • Dependency upgrades:

Enjoy,

-The Apache Maven team