问题描述
I have installed m2eclipse plugin from http://m2eclipse.codehaus.org/. Now I want to use that as a standalone build tool but I am unable to find the installation directory. Can anyone help me in this?
解决方案
Execute the following command:
mvn --version
Example Result:
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: `D:apache-maven-3.0.5in`.. Java version: 1.6.0_25, vendor: Sun Microsystems Inc. Java home: C:Program FilesJavajdk1.6.0_25jre Default locale: nl_NL, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
The Maven Home will show you where maven is installed.