Maven: The Complete Reference - 2.4. Testing a Maven Installation |
|
Once Maven is installed, you can check the version by running $ mvn -v Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00) Maven home: /opt/apache-maven-3.2.5 Java version: 1.7.0_71, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac" 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 |