Once Maven is installed, you can check the version by running mvn -v from the command-line. If Maven has been installed, you should see something resembling the following output.
$ mvn -v
Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"If you see this output, you know that Maven is available and ready
to be used. If you do not see this output, and your operating system
cannot find the mvn command, make sure that your
PATH environment variable and M2_HOME
environment variable have been properly set.

