Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven plugin install with Eclipse

I am new to Maven, I have to install maven plugin in eclipse. I am facing some issues in the same, as the inputs I am getting different sites are not working. I have also gone through existing posts like this, which talks about running the command like :

mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code 
-DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar

but where do I run this command ??

This site talks about adding as parameter maven.repo.remote like :

maven -DartifactId=maven-eclipse-plugin-plugin -DgroupId=mevenide -Dversion=0.3.1 plugin:download

BUt where are these parameter set ??

Please can someone help me with pointing some good resource, which gives easy steps to install maven plugin in eclipse?

My eclipse version: indigo release, Java EE IDE.

like image 801
Swagatika Avatar asked Sep 12 '11 08:09

Swagatika


People also ask

Do I need to install Maven for Eclipse?

You can Launch Maven builds from within Eclipse. It does the dependency management for Eclipse build path based on Maven's pom. xml. It resolves Maven dependencies from the Eclipse workspace without installing to local Maven repository (requires dependency project be in same workspace).

Does Eclipse come with Maven?

Eclipse IDE comes with a Maven plugin (called m2e) already installed. We will use this plugin to work with Maven. You are of course free to also install the Maven command line tools, but we won't be using those directly in this tutorial.


1 Answers

If you are running eclipse Indigo for Java EE you can install the missing m2e plugin this way:

Help-> Install new software -> Work with: Indigo -> General Purpose Tools -> m2e

See also: Where is m2eclipse?

like image 59
FrVaBe Avatar answered Nov 16 '22 03:11

FrVaBe