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?
-
4It would be better if you'd post an actual, concrete question about some feature of Maven that you don't understand. Your question above is far too vague, and we can't read your mind to understand what "idiosyncrasies" you don't understand. – Jesper Mar 2 '11 at 20:57
-
See the following Books by Sonatype: books.sonatype.com/mvnex-book/pdf/mvnex-pdf.pdf books.sonatype.com/mvnref-book/pdf/mvnref-pdf.pdf – Kishor Prakash Jun 12 '13 at 18:42
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.
-
your 2nd doesn't work, or is it just me ? Maybe docs.codehaus.org/display/MAVENUSER/Archetype+Plugin will help. – thelost Mar 2 '11 at 21:11
-
2The best way to learn through the video tutorials here javabrains.koushik.org/2011/06/… – Gaurav Agarwal Sep 2 '13 at 3:57