Consume Maven Builds in a Non-Maven Project

Using Maven Antlib

The Maven project has produced a library of Ant tasks (currently maven-artifact-ant-2.0.4-dep.jar) that allows your Ant builds to utilise Maven’s artifact handling features.

This includes:

  • Dependency management – including transitive dependencies, scope recognition and SNAPSHOT handling
  • Artifact deployment – file and SSH based deployment to a Maven repository
  • POM processing – for reading a Maven 2.0 pom.xml file

For more information see: http://maven.apache.org/ant-tasks.html

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply