Unable to update Eclipse / STS 3.7.3 - eclipse

After fresh install of Spring Tool Suite 3.7.3 (and adding the Subclipse plugin), update comes up with the error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.sonatype.m2e.buildhelper,0.15.0.201212120353
No repository found containing: x,0.14.0.201509090157
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.buildhelper.feature,0.15.0.201212120353
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.egit.feature,0.14.0.201509090157
M2E and Sonatype seem to be involved in this somehow.
How to get rid of this error? And what about the missing "x" artifact?

Going to Help -> Installation details and uninstalling several components that related to M2E and Sonatype got me rid of this error message.

Related

Installing Subclipse 1.8 in Eclipse 3.8

I am trying to install Sublclipse 1.8 under Eclipse Classic 3.8.2 (M20130131-0800) under OS X 10.8.3. This results in the error message:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.draw2d,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.gef,3.9.0.201212170307
How can I obtain the missing plugins?
I have set up http://subclipse.tigris.org/update_1.8.x as an update site, which according to the Subclipse page is compatible with Eclipse 3.8. In the install dialog I have selected all the available plugins in both the "Subclipse" and the "SVNKit" group.
Installing GEF from the update site http://download.eclipse.org/releases/juno does not work either:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.draw2d,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.draw2d.doc.isv,3.8.1.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.draw2d,3.9.0.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.draw2d.sdk,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.draw2d.source,3.9.0.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.draw2d.source,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.gef,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.gef.doc.isv,3.8.1.201212170307
No repository found containing: osgi.bundle,org.eclipse.gef.examples.ui.pde,3.8.1.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.gef,3.9.0.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.gef.sdk,3.9.0.201212170307
No repository found containing: osgi.bundle,org.eclipse.gef.source,3.9.0.201212170307
No repository found containing: org.eclipse.update.feature,org.eclipse.gef.source,3.9.0.201212170307
The Subversion Revision Graph optional feature needs GEF, so if it is not necessary for you, you can skip installing it. Otherwise, things to try:
Install Subclipse simply from Marketplace, as the Installation Instructions suggest. (If your distribution doesn't contain it, you can install Marketplace itself from the Juno update site.)
The Juno update site http://download.eclipse.org/releases/juno contains GEF, make sure it is among your available software sites. You can also try the GEF milestone update site: http://download.eclipse.org/tools/gef/updates/milestones

how to add maven plugin to eclipse

I am new to maven. I was trying to add the maven plugin to eclipse(indigo). The problem I am facing is that when I try to add the plugin using 'Help -> Install new software' using URL http://download.eclipse.org/releases/indigo the download process starts and then stops with an error
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.emf,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120130-0943
...........
...........
Also when I try to install the plugin using http://download.eclipse.org/technology/m2e/releases then the installation gets stuck 48% and after a long time it again displays an error message:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
............
............
Kindly suggest if there is something wrong with the installation process I am using.
Also suggest if there is some other method to add 'maven plugin for eclipse'.
Thanks
Check Contact all update sites during install to find required software option before installing m2e.

eclipse indigo install zend debugger failed?

ubuntu 10.4 + eclipse indigo
first install pdt pulgin success, but it not include zend debugger
then install new software
add repository: PDT - http://downloads.zend.com/pdt
error info is followlings:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.zend.php.debug.debugger,5.3.18.v20110322
No repository found containing: osgi.bundle,org.zend.php.debug.debugger.linux.x86,5.3.18.v20110322
No repository found containing: org.eclipse.update.feature,org.zend.php.debug_feature,5.3.18.v20110322
how to do?

How do I install Aptana plugin in Eclipse 3.7?

I'm trying to install the Aptana Studio 3 plugin into Eclipse 3.7 on Ubuntu, but it is failing with the message
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.4.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.6.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.7.0.dist
No repository found containing: osgi.bundle,org.junit,3.8.2.v3_8_2_v20100427-1100
The package URL I'm using is http://download.aptana.com/studio3/plugin/install. What am I doing wrong?
Update: I followed sgibly's advice below and now the install gets to about 49% before failing with this message:
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
Try this:
Open the Eclipse Preferences and look for Install/Update->Available Software and make sure that the Indigo update site is selected.
If it's not selected, add http://download.eclipse.org/eclipse/updates/3.7 and try to install the Studio again.
Hope that helps.

M2Eclipse & Helios - errors

I downloaded the latest Eclipse Helios Java EE package and installed it with success.
Now I want to install m2eclipse and I used the update site http://m2eclipse.sonatype.org/sites/m2e (see here: http://m2eclipse.sonatype.org/installing-m2eclipse.html)
An error occurs:
An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.maven.ide.eclipse,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.archetype_common,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.dependency_tree,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.editor,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.editor.xml,0.10.2.20100623-1649
No repository found containing: org.eclipse.update.feature,org.maven.ide.eclipse.feature,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.jdt,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.launching,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.maven_embedder,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.maven_model_edit,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.nexus_indexer,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.pr,0.10.2.20100623-1649
No repository found containing: osgi.bundle,org.maven.ide.eclipse.refactoring,0.10.2.20100623-1649
The other way I found here:
http://www.sonatype.com/books/m2eclipse-book/reference/install-sect-marketplace.html
is to use the new Eclipse Marketplace. I searched for m2eclipse, but there is no install button only "learn more".
What's wrong? How can I install m2eclipse with Helios?
Thank you in advance & Best Regards.
Use http://m2eclipse.sonatype.org/sites/archives/0.10.2.20100623-1649/
instead of: http://m2eclipse.sonatype.org/sites/m2e
I found a solution. I took the latest nightly build bia the update site and it seems to work.