Java – Fastest way to learn Maven


What is the fastest way to learn maven? I am up to speed with it but can't keep up with its idiosyncrasies. Any idea?

Best Solution

Start by looking here.

Then, I would play with archetypes. They are quick ways of getting projects up and running. Even if you already have a project, playing with an archetype gives you a sense of what the conventions are and how things are layed out.

(If that link doesn't work, try the command mvn archetype:generate, and pick one of the archetypes from the list that seems closest to your real project.)

I also found that it just took a while for things to "click" since it is very different than ant or make.