Ant uses build.xml, Maven uses ________

pom.xml

[top]

What is currently the easiest source of most common cheat scripts and xml for maven ?

This could go in the tips as well, but look here:

[top]

Dang ! I'm trying to build my first maven project in Eclipse and now I can't build because of this M2_REPO variable !

Open up the build path preferences to this classpath variable screen:

Tell it where your maven repository is:

When you finish it should look like this, except pointing to your own repository, of course.

It will ask you to rebuild when you finish.

[top]

A provider of functionality most equivalent to an ant task is provided to a project as a ________

Goal

[top]

Ant has tasks that you can call as you need, the equivalent in maven might be ________

goals, phases, plugins.Plugins provide the functionality, goals are how you call it from the pom.xml, phases is where it fits in the lifecycle

[top]

Ant uses target depends="whatever" to create flow control, Maven uses ________

lifecycle phases. This is one of the simplest, sweetest aspects of Maven. You can specify the "phase" in your command, which says basically how far you want to go. Then maven runs all phases in the lifecycle, up to and including the one you specified. You actually have to use special flags to tell it to skip a phase or goal within a phase.

[top]