用户登录
用户注册

分享至

在 Eclipse 3.4 中哪里可以找到 Maven 安装目录

  • 作者: Callme_爹地
  • 来源: 51数据库
  • 2022-10-20

问题描述

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.

软件
前端设计
程序设计
Java相关