Not able to install Groovy Eclipse plugin in Eclipse 2022-12 - eclipse

I haven't installed the Groovy Eclipse plugin for a while because I mostly did not need it anymore. However, I'm now looking at one project that I need this for.
I'm using Eclipse 2022-12.
When I attempt to install the latest Groovy plugin from the Marketplace, it simply says that both "Eclipse Groovy Development Tools" and "Groovy-Eclpse M2E integration" will "not be installed", but "Groovy Compiler 3.0" and "Groovy Compiler 4.0" WILL be installed. This clearly is not very useful. It doesn't say WHY it won't install the main tools.
It says the requested version is "4.8.0.v202212311456-e2212-RELEASE".
Update:
This is the dialog that I get, and the ONLY dialog that I get:
Update:
After realizing that I should have selected "Show Original Error", this is what it gave me:
Cannot complete the install because one or more required items could not be found.
Software being installed: Groovy-Eclipse M2E integration 4.8.0.v202212311456-e2212-RELEASE (org.codehaus.groovy.m2eclipse.feature.feature.group 4.8.0.v202212311456-e2212-RELEASE)
Missing requirement: Groovy m2e integration 4.8.0.v202212311456-e2212-RELEASE (org.codehaus.groovy.m2eclipse 4.8.0.v202212311456-e2212-RELEASE) requires 'osgi.bundle; org.eclipse.m2e.core [1.9.1,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Groovy-Eclipse M2E integration 4.8.0.v202212311456-e2212-RELEASE (org.codehaus.groovy.m2eclipse.feature.feature.group 4.8.0.v202212311456-e2212-RELEASE)
To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.m2eclipse [4.8.0.v202212311456-e2212-RELEASE,4.8.0.v202212311456-e2212-RELEASE]
This looks like a missing m2e artifact.
Update:
I attempted this installation of GroovyEclipse from the MarketPlace client (v4.8.0.RELEASE). Apparently that version is not compatible with 2022-12, so I used the update site specifically for 2022-12, https://dist.springsource.org/release/GRECLIPSE/e4.26 , which I got from https://github.com/groovy/groovy-eclipse/wiki#releases . Unfortunately, the result was exactly the same. I clicked on "Show original error" and the error message was identical, character by character.

Groovy Eclipse 4.8.0 has two issues with Eclipse 2022-12.
If you install a packaged release, it is not possible to patch JDT Core plugin. https://github.com/groovy/groovy-eclipse/issues/1425
(As you have noticed) m2e 2.x made breaking API changes. You can install m2e 1.x or ... Groovy Eclipse 4.9.0 has made the necessary changes. https://github.com/groovy/groovy-eclipse/issues/1405

Related

Unable to install maven plugin for eclipse luna

Iam trying to install maven plugin for eclipse luna through eclipse market place but i get the following error.
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
Missing requirement: Maven Development Tools 0.3.0.201409160039 (com.ifedorenko.m2e.mavendev 0.3.0.201409160039) requires 'bundle org.eclipse.m2e.launching [1.6.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
To: com.ifedorenko.m2e.mavendev [0.3.0.201409160039]
Please help how can i solve this problem.
All my environment variable are also set correctly.
In fact, I have the same problem on my environment.
In the error message, you can see that the plugin you want to install need the bundle org.eclipse.m2e.launching in following versions (1.6.0 to 2.0.0).
Actually, only version 1.5 of m2e is released. You can install the milestone of version 1.6 by following these instructions.
Help > Install new software...
Paste the following link into the field Work with : http://download.eclipse.org/technology/m2e/milestones/1.6/
Press enter
Select all plugins you need
Click Next and follow the wizard
After this installation, retry the installation of "Maven Development Tools"
I hope this answer will help you.
Try installing through this update site instead:
http://download.eclipse.org/releases/luna/
Use the latest Eclipse EE version it internally consist Maven plugin
The 'Maven Development Tools' you appear to be trying to install requires that the basic 'Maven Integration for Eclipse' (m2e) is already installed.
Some downloads of Eclipse include m2e but others don't.
Install m2e using 'Help > Install New Software...'. Choose the main Luna site to work with. m2e is in the 'Collaboration' section.

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.

Groovy and grails tool suite marketplace Maven Integration install error

Use the marketplace in Groovy Grails Tool Suite to install Maven Integration for eclipse. But when confirming selected features, no matter I choose "Maven Integration for eclipse" ,the error remains :Cannot complete the provisioning operation. Please change your selection and try again. See below for details.
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Development Tools 0.2.0.201401071755 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.2.0.201401071755)
Missing requirement: Maven Development Tools 0.2.0.201401071755 (com.ifedorenko.m2e.mavendev 0.2.0.201401071755) requires 'bundle org.eclipse.m2e.launching [1.5.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Maven Development Tools 0.2.0.201401071755 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.2.0.201401071755)
To: com.ifedorenko.m2e.mavendev [0.2.0.201401071755]
someone have any idea how can i resolve the problem?
By default, GGTS 3.4 already has the m2e plugin.
I guess, you didn't select all dependecies for the plugin, so, it can not be installed.
Or, the Firewall might block installing new plugins in the Eclipse. I faced this issue some times before.

Error: m2e Install In Eclipse

I've been attempting to install Maven Integration for Eclipse and I've received these errors.
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core.ui 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e logback appender 1.4.0.20130601-0317 (org.eclipse.m2e.logback.appender 1.4.0.20130601-0317)
To: bundle org.eclipse.m2e.core.ui [1.4.0,1.5.0)
Cannot satisfy dependency:
From: m2e - slf4j over logback logging (Optional) 1.4.0.20130601-0317 (org.eclipse.m2e.logback.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.logback.appender [1.4.0.20130601-0317]
My process has been Help >> EclipseMarketplace >> Search "Maven Integration for Eclipse" >> Install (m2e)
Please help.
Edit
After running into a plethora of issues, the decision was made to uninstall Eclipse Indigo 3.6.2 and install Indigo 3.7 (as per the standards of the company I currently work at). After taking this course of action, all issues with installations (maven and otherwise) were resolved.
I ran into a similar issue today and found that this question also has recently been asked and answered at the atlassian forum as well. My solution was to install slf4j based on guidelines from this blog post about "SLF4J Logging in Eclipse Plugins".
To extract, here is what I did:
Eclipse -> Help -> Install New Software
Add a new software site:
Name: slf4j
Url: http://www.fuin.org/p2-repository/
Expand "Maven osgi-bundles" and select "slf4j-api"
Click "Next" and follow the installation.
After the installation has completed (and Eclipse has been restarted) I was then able to install the maven plugin.
UPDATE:
Some of the other answers in this thread now contain links to offical package repositories. I haven't tested if they are working, but if you would prefer to use an official repository, now you know where to find them :)
Use the software update site as http://download.eclipse.org/technology/m2e/releases/1.0
That worked for me and got away with the exact same error message.
Plugin team has created a fix for m2e 1.4 & Eclipse Indigo (with this precision : Indigo is no longer officially supported for m2e) :
P2 repository : http://download.eclipse.org/technology/m2e/releases-for-indigo/1.4/
Reference : m2e-users mailing list
Using Helios, and I used this repository to download Maven Integration For Eclipse with no problems.
http://download.eclipse.org/technology/m2e/releases/1.3
That mean the folder eclipse/plugins missing "org.slf4j.api_1.6.4.v20120130-2120.jar", so you need copy the file to eclipse/plugins!
Ubuntu 13.04, Eclipse 3.8.1. For Step 3 all I had to do was add the main juno download site: http://download.eclipse.org/releases/juno and m2e can be installed from there.
This is because maven 1.5 is not compatible with current eclipse version.
So we need to use maven 1.4 or 1.3
Steps to install maven 1.4 is below
1)Click Help in eclipse
2)Install New Software
3)Url for the location of site is "http://download.eclipse.org/technology/m2e/releases"
4)Uncheck the checkbox "Show only the latest versions of available software"
if do not uncheck the checkbox it will only latest version and do not show maven 1.4.
5)Select m2e and slf4j of 1.4 version and click next.
If you're using eclipse Indigo -- It seems to be missing many files. If you download eclipse Kepler it seems to have the files that are lacking in Indigo. May suggest to switch.
I had this problem with the latest version of eclipse Indigo 64bit. I solved installing the latest version of eclipse Juno 64bit.
You can find the org.slf4j.api 1.6.4/1.7.2 on the Orbit repository, which is more reliable than other third party repositories.
The reason Maven can't resolve slf4j is because Maven can't find it in available software site. That is why the suggestion of #Lasse to use another software site works. I would like to point out that the basic root cause is because the atlassian documentation is out-of-date now. So we can just use the latest version of Maven.
Reference: Maven for Eclipse (M2E) Installation error

Error installing Maven Integration for Eclipse WTP

I am trying to install the gwt-maven-plugin for Eclipse Indigo 3.7.2 (running on Ubuntu), following the instructions here:
http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
However, when I get to the step to install "Maven Integration for Eclipse WTP", I get the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for WTP (Optional) 0.12.0.20110421-1500 (org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500)
Missing requirement: Maven Integration for WTP (Optional) 0.12.0.20110421-1500 (org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500) requires 'org.maven.ide.eclipse.feature.feature.group [0.10.0,1.0.0)' but it could not be found
A similar question on SO suggests to tick the "contact all update sites", but this isn't working for me. I have also added the Galileo & Helios update sites (in addition to Indigo) per a suggestion on this thread: http://www.eclipse.org/forums/index.php/t/206143/
Any other ideas how to resolve this?
I believe m2eclipse has moved to eclipse.org as m2e, with a new update site at http://download.eclipse.org/technology/m2e/releases/ and the newer Maven Integration for WTP (Incubation) feature from http://download.eclipse.org/m2e-wtp/releases/ . Try those.
See http://www.sonatype.com/people/2011/06/where-is-m2eclipse/ .
I had the same problem, using http://download.eclipse.org/m2e-wtp/releases/ to install Maven Integration for WTP helped. Thanks.