Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ mvn dependency:tree

As with anything, free free to browse the documentation on maven: This http://maven.apache.org/guides/getting-started/index.html is very helpfull.

What is -SNAPSHOT and why should i care

-SNAPSHOT is a special marker in maven that tell everybody that this particular piece of code is under development and might change at any time. Opposed to a normal versioned release like '4.0.0', a snapshot is never a stable release. Maven will often try to get a more recent version of a SNAPSHOT during compile. A stable release is fixed, once published there is no changing it anymore. Snapshots are normally used to indicate that a build is made of the HEAD or trunk of a project. Later on this page more about releases using maven.

Dependencies for ant

Running mvn in source root will download and setup dependency jars the deps directory for use with the old ant system.

...