concept Maven in category ant

This is an excerpt from Manning's book Ant in Action.
Maven is a competing build tool from Apache, hosted at http://maven.apache.org. Maven uses templates—archetypes—to define how a specific project should be built. The standard archetype is for a Java library, but others exist and more can be written.
Like Ant, Maven uses an XML file to describe the project. Ant’s file explicitly lists the stages needed for each step of the build process, but neglects other aspects of a project such as its dependencies, where the source code is kept under revision control, and other things. Maven’s Project Object Model (POM) file declares all this information, information that Maven plugins use to manage all parts of the build process, from retrieving dependent libraries to running tests and generating reports.
Central to Maven is the idea that the tools should encode a set of best practices as to how projects should be laid out and how they should test and release code. Ant, in comparison, has no formal knowledge of best practices; Ant leaves that to the developers to decide on so they can implement their own policy.