O'Reilly logo

Apache Maven 3 Cookbook by Srirangan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Maven plugin using Ant

Apache Ant is a software build automation tool for the Java platform. It uses an XML build configuration file (similar to Apache Maven and dissimilar to Make) for defining project builds.

Ant is extremely popular. Not only is it lightweight and an occasional replacement for Maven itself, but it inherently is easy to use for non-programmers. This is because it consists of instructions written in XML rather than any programming language.

If you want to create an extension for Maven, that is, create a Maven plugin in Apache Ant, then this recipe is for you.

Getting ready

For this recipe, you need Apache Maven 3 installed and set up correctly. You also need to be familiar with Maven concepts such as archetypes, project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required