Cannot install Checkstyle plugin on Eclipse Mars - eclipse

I tried to install Checkstyle plugin on Eclipse Mars, both via Eclipse Marketplace and via the update site (http://eclipse-cs.sf.net/update).
I set the option to contact other updates sites to satisfy dependencies, but I got following error:
Cannot complete the install because one or more required items could
not be found. Software being installed: Extension for eclipse-cs
plugin with additional Checks 1.13.5
(com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5)
Missing requirement: Sevntu eclipse-cs Extension Plugin 1.13.5
(eclipsecs-sevntu-plugin 1.13.5) requires 'bundle
net.sf.eclipsecs.checkstyle 0.0.0' but it could not be found Cannot
satisfy dependency:
From: Extension for eclipse-cs plugin with additional Checks 1.13.5 (com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5)
To: eclipsecs-sevntu-plugin [1.13.5]
UPDATE:
I installed the plugin from the archive successfully, but online install doesn't work.

The link http://eclipse-cs.sourceforge.net/#!/install gives four different approaches to install the CheckStyle plugin on Eclipse:
Via Eclipse Marketplace link (recommended)
Via Eclipse Marketplace client
From the update site
From an update site archive
The first approach (dragging and dropping the link to the workspace) performs an online install, and worked fine for me with Eclipse Mars.
The second option (Via Eclipse Marketplace client) did not work. I got this error: "The following solutions are not available: CheckStyle Contributions (id=de.unkrig.cs-contrib.feature.feature.group, site=http://cs-contrib.unkrig.de/update)"

Related

Eclipse/STS dependency hell

I was having few troubles installing new software from Marketplace, so today I decided to start from a fresh install of STS 3.6.4 from spring.io.
I wanted to install some plugins like Subversive, but then I stumbled again into the dependency hell problem.
When I try to install any software, I get an error like the following (this one when trying to install Subversive in a fresh install with clean workspace)
Cannot complete the install because one or more required items could not be found.
Software currently installed: Spring Tool Suite 3.6.4.201503100339-RELEASE-e44 (org.springsource.sts.ide 3.6.4.201503100339-RELEASE-e44)
Missing requirement: Spring Tool Suite Package 3.6.4.201503100339-RELEASE-e44 (org.springsource.sts.package.feature.group 3.6.4.201503100339-RELEASE-e44) requires 'com.atlassian.connector.eclipse.jira.feature.group 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Spring Tool Suite 3.6.4.201503100339-RELEASE-e44 (org.springsource.sts.ide 3.6.4.201503100339-RELEASE-e44)
To: org.springsource.sts.package.feature.group [3.6.4.201503100339-RELEASE-e44]
I cannot install JRebel on my old STS installation, guess if I can install it, together with the plugins I require, in the new installation!
How can I solve dependency hell in Eclipse/STS? Switching to vanilla Eclipse maybe?
[Edit]
Original error when trying to install JRebel on STS 3.6.1
Cannot complete the install because one or more required items could not be found.
Software currently installed: SVNKit 1.8.6 Implementation (Optional) 4.1.0.I20140907-1700 (org.polarion.eclipse.team.svn.connector.svnkit18.feature.group 4.1.0.I20140907-1700)
Missing requirement: SVNKit 1.8.6 Implementation (Optional) 4.1.0.I20140907-1700 (org.polarion.eclipse.team.svn.connector.svnkit18.feature.group 4.1.0.I20140907-1700) requires 'org.polarion.eclipse.team.svn.connector.svnkit18 [4.1.0.I20140907-1700]' but it could not be found
On the update page, did you check "Contact all update sites during install to find required software" ?
Another workaround would be to download eclipse, install Subversive, then STS through updatesite.

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.

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.

How to install Xtend 2.4 for Android?

I'm trying follow this article
When I try to 'Disable the checkbox Contact all update sites during install to find required software, to avoid unwanted updates of other Eclipse plug-ins.' I can't to make next steps because
Cannot complete the install because one or more required items could not be found.
Software being installed: Xtend SDK 2.4.0.v201303201134 (org.eclipse.xtend.sdk.feature.group 2.4.0.v201303201134)
Missing requirement: Xtend Standalone Bundle 2.4.0.v201303201134 (org.eclipse.xtend.standalone 2.4.0.v201303201134) requires 'bundle org.eclipse.emf.codegen 2.5.0' but it could not be found
Cannot satisfy dependency:
From: Xtend SDK 2.4.0.v201303201134 (org.eclipse.xtend.sdk.feature.group 2.4.0.v201303201134)
To: org.eclipse.xtend.standalone [2.4.0.v201303201134]
Or I get error during installation in eclipse if enabale that checkbox.
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,21.1.0.v201302060044-569685
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
to install Xtend but do not contact eclipse update site, you just need to add the EMF update site if not already done.
Help -> Install new Software -> Available Software sites -> Add...
http://download.eclipse.org/modeling/emf/emf/updates/releases
After that disable all the Software sites except of EMF and Xtext (unfortunately I can't post images here)
Now, after closing with "Ok", choose work with Xtext update site. Select Xtend from the treeview, enable the "Contact all update sites" (unfortunately I can't post images here) and follow the next wizard steps.
It sounds like you are trying all that on a classic Eclipse installation, without the Android plugins installed. Therefore please re-read the tutorial section "Setting up the IDE", it recommends to download and install th "all-in-one" bundle from the Android website or to manually install the ADT plugin into an existing Eclipse.
You should not uncheck the checkbox during the update. Eclipse will only add necessary updates to the list of plugins to be installed. And you can review that list once again in the installation wizard after Eclipse decided about the plugins.
The Article assumes that you have a running Eclipse with EMF installed. This does not seem to be the case for you. Just leave 'Contact all update sites during install to find required software' and it will properly install EMF.
Work fine for me when i take Eclipse build with already installed Xtend SDK and installing the ADT Plugin.

Installing GWT plugin for eclipse

I have tried to install the GWT plugin for eclipse helios. when I try to I get this message:
Cannot complete the install because one or more required items could
not be found. Software being installed: Google Web Toolkit SDK 2.4.0
2.4.0.v201203300216-rel-r36 (com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group
2.4.0.v201203300216-rel-r36) Missing requirement: Google Plugin for Eclipse 3.6 2.5.2.v201203300216-rel-r36
(com.google.gdt.eclipse.suite.e36.feature.feature.group
2.5.2.v201203300216-rel-r36) requires 'org.eclipse.wst.css.core 0.0.0' but it could not be found Cannot satisfy dependency:
From: Google Web Toolkit SDK 2.4.0 2.4.0.v201203300216-rel-r36 (com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group
2.4.0.v201203300216-rel-r36)
To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.5.2..
Tried using both local files and downloading using eclipse. Nothing seems to work.
See https://developers.google.com/eclipse/docs/faq#wstinstallerror
You have to install WST first, and then you'll be able to install the Google Plugin for Eclipse.
This message generally says that there are problems when trying to connect to Helios update server. Because when installing GWT, you need extra package from it.
I met the similar(same ?) problem with Luna 64bit eclipse, when trying to install Google Plugins for Eclipse. This is solution I suggested:
1. Go to Preferences -> Install Update -> Available Software Update.
2. Delete Helios entry. Quit eclipse. Make sure your network is ok. Reopen eclipse. Go back and re-add Helios entry. Click reload.
3. If no Helios entry is found in step 2, then simply add it and no need to do the else.