Managing Builds with Maven

Steven J Zeil

Last modified: Mar 20, 2014

Contents:
1. Why Maven?
2. Maven as a Build Manager

1. Why Maven?

Another Apache project, Maven came well after Ant had come to dominate the Java open source landscape.


Motivations for Maven

Grew out of an observation that many supposedly cooperative, related Apache projects had inconsistent and incompatible ant build structures.

Stated goals are


Uniform Build System


Providing quality project information


Providing guidelines for best practices development

2. Maven as a Build Manager

Perhaps the best way to illustrate this is to follow the steps in Maven in 5 Minutes


Building with the Sample Source


OK, that was fun…

Let’s try this with some real source code.


What Went Wrong?


That was a little better