Maven found missing in Eclipse IDE (Mars) after installing m2e-egit - eclipse

unable to create a maven project after installing the m2e-egit plugin; Obviously I don't see the maven option under Eclipse > Window > preferences
Tool used:
Eclipse Java EE IDE for Web Developers.
Version: Mars Release (4.5.0)

Try this :
Firstly, for Maven:
Eclipse > Help > Install new software and add http://download.eclipse.org/technology/m2e/releases.
Secondly, for m2e-egit:
Eclipse > Help > Install new software and add
https://repository.takari.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/.
Because the version of m2e-egit in the Marketplace is outdated
Now restart eclipse.
It perfectly worked for me (Mars Version).

I had this same issue with m2eclipse-scala. I tracked the issue down to what seems to be multiple installs of the m2e plugin, one explicit and one implicit. This plugin gets installed by m2eclipse-scala if it's not already there (perhaps similarly to how m2e-egit operates). The base version of Eclipse that I'm using does NOT show m2e installed under Window > Installation Details, but all of the Maven buttons and toolbars are already present, and explicitly installing m2e makes them disappear.

Related

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site.
After selecting Maven Integration for Eclipse, I clicked Next and got the following error:
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace, but it cannot be downloaded. I downloaded the binary and tried to copy it to Eclipse's plugin directory. Still the same result.
cp ~/Downloads/guava-16.0.1.jar /Applications/eclipse/plugins/com.google.guava_16.0.1.v1234.jar
How do I install the m2e plugin for Kepler?
m2e 1.5.0 requires Eclipse Luna. It will not work with Kepler or Indigo. (thanks to #HDave for the link)
So you have to use an older version of m2e under Kepler.
During installation, uncheck "Show only the latest versions of available software". Then only check the 1.4.1 version or lower version in the candidate list. It doesn't require the Guava dependency.
Make sure you have the Luna repository in "Available Software Sites".
You can add it in : Help -> Install New Software...
Then in the "Work with" input, you type http://download.eclipse.org/releases/luna/ and press enter.
After that, you should be able to install m2e with http://download.eclipse.org/technology/m2e/releases/
You can find Guava 15 on Orbit project - "repository of bundled versions of third party libraries that are approved for use in one or more Eclipse projects". You can also directly add the Orbit project update site to your kepler installation and you'll be able to update m2e
What has helped me for Juno release is adding http://download.eclipse.org/technology/m2e/releases/1.3/ as plugin update site. The version of Maven for Eclipse was 1.3 instead of 1.5 but, for me, this differrence was less principal than the absence of extra dependencies and extra update sites, especially that of the newer version of IDE itself.
Do you necessarily need version 1.5 or 1.3 also should be good?
STEPS TO INSTALL MAVEN (in Eclipse):
Maven Eclipse plugin installation step by step:
Open Eclipse IDE
Click Help -> Install New Software...
Uncheck "Show only the latest versions of available software"
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as"http://download.eclipse.org/technology/m2e/releases"
Check only one 1.4.1 Version.
Now click OK After that installation would be started.
http://download.eclipse.org/technology/m2e/releases
This URL does not work.
http://download.eclipse.org/technology/m2e/releases/1.3/
This one can work.

Maven eclipse integraton

I'm trying to install Maven Eclipse plugin M2E, but it's update site is here isn't working.
Others Maven plugins at Eclipse Marketplace are showing the 'Not found' page too.
Since Eclipse 4.3.x the Maven integration can be installed directly from the default Eclipse update site that also ships all the other standard Eclipse plugins.

Cannot upgrade/un-install m2eclipse plugin in Eclipse

I have Eclipse 3.6 with m2eclipse (Maven's plugin for Eclipse) 1.1, it works.
And now I want to try m2eclipse version 1.4, I upgrade it directly and find I cannot see Maven in any menu. Then I try to uninstall and re-install it but I always get this message and Eclipse doesn't install anything.
Your original request has been modified.
"m2e - Maven Integration for Eclipse" is already present because other installed
software requires it. It will be added to the installed software list.
Finally, I try to search all files contain "m2e" and delete them from Eclipse's directory, but still get the same message, any suggestion to un-install m2eclipse?
ps: I use Eclipse Help > About eclipse > Installation details to un-install and restart to make sure m2e is not in Eclipse before re-install. I also use -clean parameter but still the same.
You can remove the m2e plugin in Eclipse Help > About eclipse > Installation details. You should find all the m2e to uninstall.
Edit :
You could also reload eclipse with the -clean option so any cached data used by the OSGi framework and eclipse runtime will be wiped clean

M2e is not visible in Eclipse

I'm trying to install m2e plugin to enable maven integration but it looks like plugin is not installed:
What I do:
Maven is already installed in the system and 'mvn --version' works
Help -> Install New Software -> Indigo->General Purpose Tools - m2e
Eclipse restart of course
There is no mention of Maven in eclipse. Not in Window->Preferences, not when creating new project. Nowhere.
Tried different plugin repositories, tried Eclipse Marketplace - nada.
When running Eclipse I get these errors:
org.eclipse.m2e.logback.configuration: SLF4J logger factory is not an instance of LoggerContext: org.slf4j.impl.SimpleLoggerFactory
2 [org.eclipse.jdt.internal.ui.text.JavaReconciler] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Not sure what to do at this point.
Would be grateful for any help!
Leonty
I don't recall what it is called in Indigo. I recently updated to Juno and imported my plugins with no issue. Below is a full list of plugins that I have installed. I'd recommend you uninstall what you have, then search for "Maven Integration". Install that and any other related plugins you will need (i.e. SCM clients).
It is builtin with Indingo, no !?
(Or maybe Indigo WTP)
I am quite sure because I had to re-install Indigo WTP several times

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.
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?
Start with Eclipse Indigo Java EE edition
m2e is the maven integration for Eclipse. Install this plugin in the IDE.
Import maven project if you have any or create a new one
mvn install:install-file is used to install maven artifacts in local repository, if it cannot be automatically downloaded and installed by maven. This is not normally required, but if you have to do this, you can go to Run as -> Run Configurations... and create an appropriate Maven Build configuration.
maveide is not maintained and not to be referred.
In the Indigo release, Maven is already included by the eclipse plugin m2e. At the plugins website, you will find plenty of material. The steps are normally:
Install eclipse with m2e
Install separately a current maven version (depending on what you need, Maven 2.2.x or Maven 3.0.x)
Configure your installed Maven inside Eclipse due to the documentation. Do that in the section Window > Preferences > Maven > Installations. If that is not visible in Eclipse, you first have to install m2e with the normal installation procedure: Help > Install New Software > Work with: Indigo > Filter text: m2e > Collaboration > m2e. Then next, next, next ...
Hope that helps.
Eclipse > Help > Eclipse Marketplace...
Search for m2e
Install Maven Integration for Eclipse (Juno and newer). [It works for Indigo also]