error while installing m2e-wtp plugin for eclipse kepler - eclipse-plugin

I have tried installing m2e-wtp plugin but getting below error:-
STDERR: Cannot complete the install because of a conflicting dependency.
Software being installed: m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp.feature.feature.group 1.0.1.20130911-1545)
Software currently installed: m2e - Maven Integration for Eclipse 1.3.0.20130129-0926 (org.eclipse.m2e.feature.feature.group 1.3.0.20130129-0926)
Only one of the following can be installed at once:
Maven Integration for Eclipse JDT 1.4.0.20130601-0317 (org.eclipse.m2e.jdt 1.4.0.20130601-0317)
Maven Integration for Eclipse JDT 1.2.0.20120903-1050 (org.eclipse.m2e.jdt 1.2.0.20120903-1050)
Maven Integration for Eclipse JDT 1.1.0.20120530-0009 (org.eclipse.m2e.jdt 1.1.0.20120530-0009)
Maven Integration for Eclipse JDT 1.4.1.20140328-1905 (org.eclipse.m2e.jdt 1.4.1.20140328-1905)
Maven Integration for Eclipse JDT 1.3.0.20130129-0926 (org.eclipse.m2e.jdt 1.3.0.20130129-0926)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.3.0.20130129-0926 (org.eclipse.m2e.feature.feature.group 1.3.0.20130129-0926)
To: org.eclipse.m2e.jdt [1.3.0.20130129-0926]
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.jdt [1.4.0,2.0.0)
Cannot satisfy dependency:
From: m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp.feature.feature.group 1.0.1.20130911-1545)
To: org.eclipse.m2e.wtp [1.0.1.20130911-1545]

I found the solution myself.
You need to first install the correct version of m2e-eclipse plugin.
http://download.eclipse.org/technology/m2e/releases/1.4/1.4.1.20140328-1905/
Then installed the m2e-wtp plugin version:-
http://download.eclipse.org/m2e-wtp/releases/kepler/1.0.0/1.0.1.20130911-1545/m2e-wtp-jpa/
and same as above link for m2e-wtp
This resolved the error.

Related

Eclipse 2022-06 gets error trying to install the Vaadin plugin

Cannot complete the install because one or more required items could not be found.
Software being installed: Vaadin Plug-in for Eclipse 4.1.6 (com.vaadin.integration.eclipse.feature.group 4.1.6)
Missing requirement: Vaadin Plug-in for Eclipse 4.1.6 (com.vaadin.integration.eclipse 4.1.6) requires 'osgi.bundle; org.eclipse.mylyn.commons.ui 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Vaadin Plug-in for Eclipse 4.1.6 (com.vaadin.integration.eclipse.feature.group 4.1.6)
To: org.eclipse.equinox.p2.iu; com.vaadin.integration.eclipse [4.1.6,4.1.6]
Eclipse 2022-06 does not contain Mylyn anymore which is required by the Vaadin plugin.
As solution, in the preferences Install/Update > Available Software Sites, add the update site https://download.eclipse.org/mylyn/releases/latest before installing the Vaadin plugin.

how to import cucumber eclipse plugin manually?

I couldn't install cucumber eclipse plugin from "http://cucumber.github.com/cucumber-eclipse/update-site
" from Help--> Install New software because of firewall restriction.
Can anyone provide the jars for recent cucumber eclipse plugin and provide the steps to manually add them to eclipse please ?
This website might be helpful for you:
http://toolsqa.com/cucumber/download-cucumber-jvm-eclipse/
There are 3 options available:
1. Download Cucumber Jars from Online Maven Repository
2. Download Cucumber Jars from oss.sonatype.org
3. Download Cucumber Jars from Maven dependencies
All of them are detailed on the website.
Hope it helps!

Is there a connection between sonarqube eclipse plugin and maven plugin?

Is sonarqube eclipse plugin executing a sonar:sonar maven goal in the background?
If so, can we change which maven plugin version eclipse plugin uses?
It depends on the version. In latest versions, the SonarQube Eclipse plugin uses the SonarQube Runner API, so Maven is not involved.

openshift eclipse plugin installation

Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss OpenShift Tools 2.6.0.Beta3-v20140718-1935-B44 (org.jboss.tools.openshift.express.feature.feature.group 2.6.0.Beta3-v20140718-1935-B44)
Software currently installed: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
Software currently installed: Maven Integration for AJDT (Optional) 0.13.0.201107281640 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.13.0.201107281640)
Only one of the following can be installed at once:
Object Teams Development Tooling Core 3.8.1.v_OTDT_r210_201206090452 (org.eclipse.jdt.core 3.8.1.v_OTDT_r210_201206090452)
Object Teams Development Tooling Core 3.8.3.v_OTDT_r212_201301271217 (org.eclipse.jdt.core 3.8.3.v_OTDT_r212_201301271217)
Java Development Tools Core 3.8.1.v20120531-0637 (org.eclipse.jdt.core 3.8.1.v20120531-0637)
Object Teams Development Tooling Core 3.8.2.v_OTDT_r211_201209011847 (org.eclipse.jdt.core 3.8.2.v_OTDT_r211_201209011847)
Java Development Tools Core 3.8.2.v20120814-155456 (org.eclipse.jdt.core 3.8.2.v20120814-155456)
Java Development Tools Core 3.10.0.v20140604-1726 (org.eclipse.jdt.core 3.10.0.v20140604-1726)
Java Development Tools Core 3.8.3.v20130121-145325 (org.eclipse.jdt.core 3.8.3.v20130121-145325)
Java Development Tools Core 3.8.3.xx-201406301609-e42 (org.eclipse.jdt.core 3.8.3.xx-201406301609-e42)
Only one of the following can be installed at once:
Java Development Tools Launching Support 3.6.101.v20130111-183046 (org.eclipse.jdt.launching 3.6.101.v20130111-183046)
Java Development Tools Launching Support 3.7.100.v20140428-1912 (org.eclipse.jdt.launching 3.7.100.v20140428-1912)
Java Development Tools Launching Support 3.6.100.v20120523-1953 (org.eclipse.jdt.launching 3.6.100.v20120523-1953)
Cannot satisfy dependency:
From: AspectJ Development Tools Core 2.2.3.e42x-RELEASE-20130625-1400 (org.eclipse.ajdt.core 2.2.3.e42x-RELEASE-20130625-1400)
To: bundle org.eclipse.jdt.core [3.6.0,3.9.0)
Cannot satisfy dependency:
From: AspectJ Development Tools 2.2.3.e42x-RELEASE-20130625-1400 (org.eclipse.ajdt.feature.group 2.2.3.e42x-RELEASE-20130625-1400)
To: org.eclipse.ajdt.core 0.0.0
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.10.0.v20140606-1536 (org.eclipse.jdt.feature.group 3.10.0.v20140606-1536)
To: org.eclipse.jdt.core [3.10.0.v20140604-1726]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.0.v20120525-1249-8-8nFqlFNOfwKDRGz-pXJdG0GW83 (org.eclipse.jdt.feature.group 3.8.0.v20120525-1249-8-8nFqlFNOfwKDRGz-pXJdG0GW83)
To: org.eclipse.jdt.launching [3.6.100.v20120523-1953]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.0.v20120525-1249-8-8nFqlFNOfwKDRGz-pXLdGxEM83 (org.eclipse.jdt.feature.group 3.8.0.v20120525-1249-8-8nFqlFNOfwKDRGz-pXLdGxEM83)
To: org.eclipse.jdt.launching [3.6.100.v20120523-1953]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.1.v20120814-104540-8-8nFqpFNOfwKDRVz-tXLgJBep83 (org.eclipse.jdt.feature.group 3.8.1.v20120814-104540-8-8nFqpFNOfwKDRVz-tXLgJBep83)
To: org.eclipse.jdt.launching [3.6.100.v20120523-1953]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.1.v20120814-104540-8-8nFqpFNOfwKDRVz-tXOcL5d_83 (org.eclipse.jdt.feature.group 3.8.1.v20120814-104540-8-8nFqpFNOfwKDRVz-tXOcL5d_83)
To: org.eclipse.jdt.launching [3.6.100.v20120523-1953]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.2.v20130116-090414-8-8nFu3FNOfwKLRttdWQJ-2z-_83 (org.eclipse.jdt.feature.group 3.8.2.v20130116-090414-8-8nFu3FNOfwKLRttdWQJ-2z-_83)
To: org.eclipse.jdt.launching [3.6.101.v20130111-183046]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.8.2.v20130116-090414-8-8nFu3FNOfwKLRuqgXKIy9z0I83 (org.eclipse.jdt.feature.group 3.8.2.v20130116-090414-8-8nFu3FNOfwKLRuqgXKIy9z0I83)
To: org.eclipse.jdt.launching [3.6.101.v20130111-183046]
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
To: org.eclipse.jdt.feature.group 3.6.0
Cannot satisfy dependency:
From: OpenShift Core 2.6.0.Beta3-v20140718-1935-B44 (org.jboss.tools.openshift.express.core 2.6.0.Beta3-v20140718-1935-B44)
To: bundle org.eclipse.jdt.launching 3.7.0
Cannot satisfy dependency:
From: JBoss OpenShift Tools 2.6.0.Beta3-v20140718-1935-B44 (org.jboss.tools.openshift.express.feature.feature.group 2.6.0.Beta3-v20140718-1935-B44)
To: org.jboss.tools.openshift.express.core [2.6.0.Beta3-v20140718-1935-B44]
Cannot satisfy dependency:
From: Maven Integration for AJDT (Optional) 0.13.0.201107281640 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.13.0.201107281640)
To: org.eclipse.ajdt.feature.group 1.5.0
This basically says that plugins installed in your current Eclipse conflict with the plugins that JBoss OpenShift Tools (that you're apparently trying to install) is requiring:
"Only one of the following can be installed at once:"
Latest Eclipse Luna (but also the prior Kepler relase) tries to resolve such issues and offers you different alternatives like replacing the existing, conflicting plugins and remove all the ones that require these.
Like greg-449 pointed out, my current guess is that you're using an old Eclipse version (Kepler or even older). JBoss OpenShift Tools 2.6.0.Beta3 requires Eclipse Luna.
You installing latest development version of JBoss Openshif Tools form http://download.jboss.org/jbosstools/updates/development/luna/
I verified both 3.6.0 and 3.6.1 original clean installations and had no problems to install Openshift Tools.
Meantime I can see from error that your "m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)" doesn't match original version included in STS 3.6.0 which is "m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 org.eclipse.m2e.feature.feature.group".
I would suggest you to try to update to latest STS 3.6.1 and then install Openshift Tools again.
If you cannot update whole STS, I would try to update only m2e integration from luna repository before installing Openshif Tools.
I would also recommend to select "Contact all update sites during install to find required software" option during installation.

missing maven dependencies in RCP product using tycho

I'm using tycho for creating a RCP product but as soon as I set the plugin pom
packaging to eclipse-plugin ,maven dependency library removes from project and cause lots of error because of missing library.I've tried running maven both on terminal and eclipse and they have the same result.Does anyone know how to fix this problem and is there someone that exported a complete RCP plugin using tycho?
thank you.
Tycho does not use maven dependencies to compile your plugin. Dependencies are specified using the plugin Manifest file as with a normal eclipse plugin.
In Eclipse, dependencies will be found using the workspace (assuming m2e & tycho configurators are installed) or from the plugins defined in your target platform (typically the eclipse installation). On the command line, these dependencies should be available in a p2 repository - these can be defined in a target definition file or in a normal maven repository block in the pom file with the p2 layout. See [1] for details on using these.
It is possible to configure Tycho to consider pom dependencies but this will not work when exporting an RCP application - dependencies need to be found in a p2 repository.
[1] http://wiki.eclipse.org/Tycho/Reference_Card#Repository_providing_the_context_of_the_build