Eclipse 3.4 + Sonar - eclipse

First time I'm posting here. I've always used S.O. and finally decided to make an account so I can be part of this.
Now, to the question. :)
Currently, I'm using RAD 7.5.4 (Eclipse 4.3) and I'm trying to install Sonar's plugin to my IDE but I keep getting errors while I try to install it from the IDE:
Cannot complete the request. See the details. Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/3.6.0
Unsatisfied dependency: [org.sonar.ide.eclipse.ui
3.4.0.20140404-0949-RELEASE] requiredCapability: osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.ui 3.4.0.20140404-0949-RELEASE]
requiredCapability:
osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.ui 3.4.0.20140404-0949-RELEASE]
requiredCapability:
osgi.bundle/org.eclipse.core.databinding.property/0.0.0 Unsatisfied
dependency: [org.sonar.ide.eclipse.jdt 3.4.0.20140404-0949-RELEASE]
requiredCapability: osgi.bundle/org.sonar.ide.eclipse.ui/0.0.0
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.sonar.ide.eclipse.jdt/[3.4.0.20140404-0949-RELEASE,3.4.0.20140404-0949-RELEASE]
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/3.6.0
Unsatisfied dependency:
[org.sonar.ide.eclipse.jdt.feature.feature.group
3.4.0.20140404-0949-RELEASE] requiredCapability: org.eclipse.equinox.p2.iu/org.sonar.ide.eclipse.ui/[3.4.0.20140404-0949-RELEASE,3.4.0.20140404-0949-RELEASE]
From what I've looked, this is not possible since Sonar doesn't give support for Eclipse 4.3. Maybe I've skipped something here, so... is there any way I can get Sonar's plugin to work in my RAD?
Thanks in advance.

Unfortunately, this is not possible. As the documentation specifies it, only versions > 3.7 are supported.

Related

Helios unable to install Maven plugin

I am using Helios Service Release 2 and I am trying to install maven plugin to create new Maven project. But when trying to install maven using http://download.eclipse.org/technology/m2e/releases I am getting below exception
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes
Incubating components) 1.8.1.20170728-1531
(org.eclipse.m2e.feature.feature.group 1.8.1.20170728-1531)
Missing requirement: Maven Integration for Eclipse 1.8.1.20170728-
1531 (org.eclipse.m2e.core 1.8.1.20170728-1531) requires 'bundle
org.eclipse.osgi 3.10.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse 1.8.1.20170728-1531
(org.eclipse.m2e.core.ui 1.8.1.20170728-1531)
To: bundle org.eclipse.m2e.core [1.8.1,1.9.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components)
1.8.1.20170728-1531 (org.eclipse.m2e.feature.feature.group 1.8.1.20170728-1531)
To: org.eclipse.m2e.core.ui [1.8.1.20170728-1531]
You must add the latest Orbit site to your update site :
http://download.eclipse.org/tools/orbit/downloads/drops/R20170516192513/repository/
and then make the upgrade.

Why is Eclipse not letting me install new updates?

I’m using the following version of Eclipse on Mac 10.9.5
Eclipse Java EE IDE for Web Developers.
Version: Juno Service Release 2
Build id: 20130225-0426
When I click on “Help” -> “Check for Updates”, I get the “Available Updates” dialog
The operation cannot be completed. See the details.
Cannot complete the install because one or more required items could not be found.
and there is only a “Cancel” dialog. When I click “Cancel,” a smaller dialog appears with the message
Some sites could not be found. See the error log for more detail.
and when I click the “Details” button, I get
Some sites could not be found. See the error log for more detail.
No repository found at http://download.eclipse.org/mat/1.3.1/update-site/.
Unable to read repository at jar:file:/Users/davea/Downloads/ehep-1.0.0.zip!/site.xml.
error in opening zip file
At this point, I don’t know what else I need to do to successfully install updates or correct the existing problem.
Edit: Following the suggestion, I fixed the broken repositories, however, now when I get the Available Sites dialog, I only check the
Eclipse IDE for Java EE Developers
option, yet I still get these errors, complaining about conflicting dependencies. How do I get around these?
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse IDE for Java EE Developers 2.0.2.20140224-0000 (epp.package.jee 2.0.2.20140224-0000)
Software currently installed: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
Only one of the following can be installed at once:
Maven Integration for Eclipse 1.5.1.20150109-1820 (org.eclipse.m2e.core 1.5.1.20150109-1820)
Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core 1.4.0.20130601-0317)
Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033)
Maven Integration for Eclipse 1.5.2.20150413-2215 (org.eclipse.m2e.core 1.5.2.20150413-2215)
Maven Integration for Eclipse 1.2.0.20120903-1050 (org.eclipse.m2e.core 1.2.0.20120903-1050)
Maven Integration for Eclipse 1.1.0.20120530-0009 (org.eclipse.m2e.core 1.1.0.20120530-0009)
Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.core 1.4.1.20140328-1905)
Maven Integration for Eclipse 1.3.0.20130129-0926 (org.eclipse.m2e.core 1.3.0.20130129-0926)
Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.core 1.3.1.20130219-1424)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 2.0.2.20140224-0000 (epp.package.jee 2.0.2.20140224-0000)
To: org.eclipse.epp.package.jee.feature.feature.group [2.0.2.20140224-0000]
Cannot satisfy dependency:
From: Java EE IDE Feature 2.0.2.20140224-0000 (org.eclipse.epp.package.jee.feature.feature.group 2.0.2.20140224-0000)
To: org.eclipse.m2e.wtp.jpa.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
To: org.eclipse.m2e.core [1.3.1.20130219-1424]
Cannot satisfy dependency:
From: Maven Integration for Eclipse WTP 1.0.0.20130612-1742 (org.eclipse.m2e.wtp 1.0.0.20130612-1742)
To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse WTP 1.0.0.20130613-0136 (org.eclipse.m2e.wtp 1.0.0.20130613-0136)
To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp 1.0.1.20130911-1545)
To: bundle org.eclipse.m2e.core [1.4.0,2.0.0)
Cannot satisfy dependency:
From: Maven JPA Configurator 1.0.0.e42-20130613-0136 (org.eclipse.m2e.wtp.jpa 1.0.0.e42-20130613-0136)
To: bundle org.eclipse.m2e.wtp 1.0.0
Cannot satisfy dependency:
From: Maven JPA Configurator 1.0.0.e43-20130612-1744 (org.eclipse.m2e.wtp.jpa 1.0.0.e43-20130612-1744)
To: bundle org.eclipse.m2e.wtp 1.0.0
Cannot satisfy dependency:
From: Maven JPA Configurator 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa 1.0.1.e42-20130821-1033)
To: bundle org.eclipse.m2e.wtp 1.0.0
Cannot satisfy dependency:
From: Maven JPA Configurator 1.0.1.e43-20130911-1546 (org.eclipse.m2e.wtp.jpa 1.0.1.e43-20130911-1546)
To: bundle org.eclipse.m2e.wtp 1.0.0
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.0.e42-20130613-0136 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.0.e42-20130613-0136)
To: org.eclipse.m2e.wtp.jpa [1.0.0.e42-20130613-0136]
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.0.e43-20130612-1744 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.0.e43-20130612-1744)
To: org.eclipse.m2e.wtp.jpa [1.0.0.e43-20130612-1744]
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
To: org.eclipse.m2e.wtp.jpa [1.0.1.e42-20130821-1033]
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e43-20130911-1546 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e43-20130911-1546)
To: org.eclipse.m2e.wtp.jpa [1.0.1.e43-20130911-1546]
When you open http://download.eclipse.org/mat/1.3.1/update-site/ in a browser, it says that it moved to http://archive.eclipse.org/mat/1.3.1/update-site/. Maybe you can try this.
I haven't tried this, but it seems like you can configure the Update Site location using Window -> Preferences -> Install/Update -> Available Software Sites, and there finding and replacing the above location.
About that other error: Seems like you added some local archive site some time ago and since then deleted or moved that archive. If you still need it, try to restore it, otherwise use the above preferences to remove it.
Having said that, it might be a good idea to move on to a newer version of Eclipse...

Error installing Maven Integration on Eclipse

I am using Eclipse-Helios. I need to install Maven Plugin on eclipse.
I am using following update URL:
http://download.eclipse.org/technology/m2e/releases
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: Maven POM XML Editor 1.4.0.20130601-0317 (org.eclipse.m2e.editor.xml 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.editor.xml [1.4.0.20130601-0317]
http://download.eclipse.org/technology/m2e/releases given on their official site sometimes doesn't work, instead this works:
Go to Help -> Install New Software -> Add http://download.eclipse.org/technology/m2e/releases/1.3

Missing requirement: Embedded Maven Runtime Bundle when updating Maven

Maven projects do not work under Eclipse Indigo (I have many Indigos and Maven works everywhere except one Indigo instance).
If create new quickstart maven project, then POM file causes an error
Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (execution: default-resources, phase: process-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (execution: default-testResources, phase: process-test-
resources)
This marks the line
<packaging>jar</packaging>
No fixes suggested.
If trying to update maven, then the following error occurs:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.runtime 1.4.0.20130531-2315) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.maven.indexer [1.4.0.20130531-2315]
Cannot satisfy dependency:
From: Maven / Nexus Indexer Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.indexer 1.4.0.20130531-2315)
To: bundle org.eclipse.m2e.maven.runtime [1.4.0,1.5.0)
How to overcome the hell?

Error occurred when installing m2eclipse

I am using eclipse galileo(Java EE Developers) and i am new to eclipse. I have installed apache-maven-3.1.0-alpha successfully. But when I try to install the m2eclipse, it gives me the following error message.
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424
(org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
Missing requirement: Maven Integration for Eclipse 1.3.0.20130129-0926 (org.eclipse.m2e.core 1.3.0.20130129-0926)
requires 'bundle org.eclipse.core.resources 3.6.0' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.core 1.3.1.20130219-1424)
requires 'bundle org.eclipse.core.resources 3.6.0' but it could not be found
Cannot satisfy dependency:
From: Maven POM XML Editor 1.3.1.20130219-1424 (org.eclipse.m2e.editor.xml 1.3.1.20130219-1424)
To: bundle org.eclipse.m2e.core [1.3.0,1.4.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.3.1.20130219-1424 (org.eclipse.m2e.feature.feature.group 1.3.1.20130219-1424)
To: org.eclipse.m2e.editor.xml [1.3.1.20130219-1424]
You can not use a version as old as Galileo. Use Juno SR2, or when available, Kepler.