在哪里可以找到Eclipse 3.4中的Maven安装目录 [英] Where can I find the Maven installation directory in Eclipse 3.4

查看:197
本文介绍了在哪里可以找到Eclipse 3.4中的Maven安装目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 http://m2eclipse.codehaus.org/ 安装了m2eclipse插件。现在我想使用它作为独立的构建工具,但我无法找到安装目录。任何人都可以帮助我吗?

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?

推荐答案

我有两个插件(其嵌入的maven实例)和一个完整的maven下载。两者应该最终使用相同的存储库,如 C:\Documents和Settings\user\.m2

I have both the plugin (with its embedded maven instance) and a full maven download. Both should end up using the same repository in something like C:\Documents and Settings\user\.m2.

有几种情况,您需要一个完整的maven下载。例如,尝试构建一个groovy的maven插件与嵌入的maven崩溃,但可以正常下载完整。

There are a few cases where you need a full maven download anyways. For example, trying to build a groovy maven plugin crashes with the embedded maven, but works fine for the full download.

您还可以从Eclipse中的首选项窗格中指定,使用一个不同的maven安装比嵌入的。

You can also specify from the preference pane in Eclipse, to use a differen maven installation than the embedded one.

希望这有帮助。

这篇关于在哪里可以找到Eclipse 3.4中的Maven安装目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆