Where can I find the Maven installation directory in Eclipse 3.4

I installed the m2eclipse plugin from http://m2eclipse.codehaus.org/ . Now I want to use this as a standalone build tool, but I cannot find the installation directory. Can someone help me with this?

+11
java maven-2 eclipse-plugin
Nov 14 '08 at 11:10
source share
4 answers

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

There are several cases where you need a full maven download anyway. For example, when trying to create a groovy maven plugin with built-in maven, but it works fine for a full download.

You can also specify from the preferences area in Eclipse to use the differen maven installation than the built-in.

Hope this helps.

+7
Nov 14 '08 at 12:53
source share

You can run "mvn -version" This will give you the result: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: D:\apache-maven-3.0.5\bin . Java Version: 1.6.0_25, Provider: Sun Microsystems Inc. Java home: C: \ Program Files \ Java \ jdk1.6.0_25 \ jre Default language: nl_NL, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: " windows "

Maven Home will provide where ur maven is installed.

+4
Sep 13 '16 at 21:15
source share

I'm not sure I understand what you want. m2eclipse is a plugin for Eclipse, so it must run inside Eclipse.

To have a standalone build tool, I suggest that you simply download the Maven2 binaries and install it on your computer if you haven’t already!

For your information, all plugins are stored in the eclipse-dir / plugins directory as a subdirectory or as a JAR file.

+2
Nov 14 '08 at 12:35
source share

My Eclipse uses the default version of Maven (3.0.4). So try the following:

Option 1 : Reboot Restart Eclipse and see if the Maven configuration is correct under "Windows" β†’ "Settings" β†’ "Maven" β†’ "Preferences"

Option 2 : select / configure the built-in "Maven Runtime" Right-click on your project β†’ "Run as ..." β†’ in the "Maven Build" section, the "Home" tab β†’ take the "External" Maven from the drop-down list. Then run it.

+2
May 08 '14 at 9:12
source share



All Articles