| Summary: | [shared] Java package can't install because of dependency on m2e | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Rinaldo DiGiorgio <digitalrinaldo> | ||||
| Component: | p2 | Assignee: | Pascal Rapicault <pascal> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | andreas.hoehmann, anukoolsharma21, forum2011, kazm, matthew, pascal.rapicault, pascal, remy.suen, shr31223 | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rinaldo DiGiorgio
Hi, Rinaldo. There aren't enough details in your report for me to tell for sure, but this sounds like it's a problem with a non-Eclipse plugin, e.g., it sounds like you're missing org.maven.*, which comes from Maven; or maybe it has to do do with eGit. Please report this problem to the forum of whatever company is making the plugin you're trying to install. And please provide more detail about your configuration, version, already-installed plugins, etc., and about what it is you're trying to do. Thanks, There is a bug filed, I don't understand how a major release doesn't work with the only implementation of maven for eclipse. It seems that the testing of a minimum set of needed addons is not done. https://issues.sonatype.org/browse/MECLIPSEWTP-129 I also find the question about what version odd. I used the eclipse help menu item to file the original bug surely it knows more about versions that I do. I just want to use it. I don't want to debug it. Doesn't the bug filing item in help provide everything I installed and the last error? Eclipse is not, and cannot be, responsible for all third-party plugins. Maven is certainly not in the "minimum set of needed add-ons"; plenty of people use Eclipse without Maven, and indeed without any third-party add-ons at all. The Eclipse developers work very hard to preserve API backward compatibility, but because Eclipse is open source, many plug-in developers use non-API interfaces; it is not possible for us to avoid breaking plugins that do that. It is often the case that third-party providers do not update their plugins until after a new version is released. That said, since I can't tell what you're trying to do, I can only guess at what the failure is about; maybe it has nothing to do with incompatible versions. Eclipse is not telepathic. I can't tell if your problem happened every time or only once. I can't tell if it is happening with all plugins you install or only that one. I can't tell if you already tried searching for help or other bug reports on this, or what you found when you did. If you have reason to believe that your problem is actually a bug with Eclipse, as opposed to operator error or a bug with Maven's Eclipse integration, please clarify, and please provide the details necessary for someone to try to reproduce the problem. And please assign the bug to a more appropriate project and category: this certainly has nothing whatsoever to do with the Annotation Processing Tools subcomponent of the Java Development Tools project. Gave up. Thx Walter for commenting / addressing. I'm taking the liberty to reopen because in some cases I have run into this issue. Teopening for investigatgion Note that is a bogus version of m2e, its using the old namespace with the current version and qualifier. If it is a P3 you would think there would be a work around. Is it posted? The documentation on the Eclipse MarketPlace points to Helios data instead of Indigo data. Where these systems designed to deal with versions? How do I use the wizard to checkout a maven project from git. I don't want to use CLI. I am a very experienced developer, the point of an IDE is to integrate these types of activities. I want other developers to use the IDE. I don't want to generate directions to get the code. The current workaround is to start from a package that does not include m2e (like the Eclipse SDK), mark the install read only, and then install into it the things that you need.
Here is below the list of things that are included into the Java package that you are using:
m2e - Maven Integration for Eclipse 1.0.0.20110607-2117 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
m2e - slf4j over logback logging (Optional) 1.0.0.20110607-2117 org.eclipse.m2e.logback.feature.feature.group Eclipse.org - m2e
Mylyn Context Connector: Eclipse IDE 3.6.0.v20110608-1400 org.eclipse.mylyn.ide_feature.feature.group Eclipse Mylyn
Mylyn Context Connector: Java Development 3.6.0.v20110608-1400 org.eclipse.mylyn.java_feature.feature.group Eclipse Mylyn
Mylyn Task List 3.6.0.v20110608-1400 org.eclipse.mylyn_feature.feature.group Eclipse Mylyn
Mylyn Task-Focused Interface 3.6.0.v20110608-1400 org.eclipse.mylyn.context_feature.feature.group Eclipse Mylyn
Mylyn Tasks Connector: Bugzilla 3.6.0.v20110608-1400 org.eclipse.mylyn.bugzilla_feature.feature.group Eclipse Mylyn
Mylyn WikiText 1.5.0.v20110608-1400 org.eclipse.mylyn.wikitext_feature.feature.group Eclipse Mylyn
Swing Designer 1.0.0.r37x201106081552 org.eclipse.wb.swing.feature.feature.group Eclipse.org
WindowBuilder Core 1.0.0.r37x201106081531 org.eclipse.wb.core.feature.feature.group Eclipse.org
WindowBuilder Core UI 1.0.0.r37x201106081733 org.eclipse.wb.core.ui.feature.feature.group Eclipse.org
WindowBuilder GroupLayout Support 1.0.0.r37x201106081642 org.eclipse.wb.layout.group.feature.feature.group Eclipse.org
Marketplace Client 1.1.0.I20110525-0742 org.eclipse.epp.mpc.feature.group Eclipse Packaging Project
The code that creates the IU representing the content of the shared profile assumed that every IU had a capability in the org.eclipse.equinox.p2.iu namespace. Unfortunately this is not the case of the org.maven.ide.eclipse IU (see IU below).
I have changed the code to directly refer to the IU id and the version and not rely on the presence of the capability. I first explored with keeping the current code (it would check if a capability was there or not and from there decide which form of requirement needed to be created) this made the code more complex for a potential performance pb. Instead I fixed the performance pb where it could occur and kept the code simple.
<unit id='org.maven.ide.eclipse' version='1.0.0.20110607-2117'>
<properties size='1'>
<property name='org.eclipse.equinox.p2.name' value='This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again.'/>
</properties>
<provides size='1'>
<provided namespace='osgi.bundle' name='org.maven.ide.eclipse' version='1.0.0.20110607-2117'/>
</provides>
<touchpoint id='null' version='0.0.0'/>
</unit>
fixed I'm experiencing the same problem While trying to install m2eclipse from the following location: http://download.eclipse.org/technology/m2e/releases/ I got the this error: Cannot complete the install because one or more required items could not be found. Software being installed: m2e - slf4j over logback logging (Optional) 1.0.0.20110607-2117 (org.eclipse.m2e.logback.feature.feature.group 1.0.0.20110607-2117) I have been doing nothing fancy, just using the new-software-wizard to install the maven plugin. ---------------------------------------- Eclipse SDK Version: 3.7.0 Build id: I20110613-1736 Linux mo-pc 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:49:00 CEST 2011 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux I have this probleme too ... I would install the subversive plugin ... eclipse.buildId=2.8.0.201110171000-RELEASE java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide Error Sun Nov 06 19:28:09 CET 2011 Cannot complete the install because one or more required items could not be found. Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile 1.0.0.1318840476337 (SharedProfile_com.springsource.sts.ide 1.0.0.1318840476337) Missing requirement: Shared profile 1.0.0.1318840476337 (SharedProfile_com.springsource.sts.ide 1.0.0.1318840476337) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found I'm seeing a similar problem, but the requirement that cannot be found is org.maven.ide.eclipse.wtp [0.16.0.20120914-0945]. Here is the definition of the unit in the p2.inf units.1.id=org.maven.ide.eclipse.wtp units.1.properties.0.name=org.eclipse.equinox.p2.name units.1.properties.0.value=This version of m2e-wtp cannot be installed on top of the already installed m2eclipse-wtp. Uninstall the previous version of m2eclipse-wtp and try the install again. units.1.version=$version$ units.1.singleton=true units.1.provides.0.namespace=osgi.bundle units.1.provides.0.name=org.maven.ide.eclipse.wtp units.1.provides.0.version=$version$ requires.0.namespace=osgi.bundle requires.0.name=org.maven.ide.eclipse.wtp requires.0.range=[$version$, $version$] But this happens only when I run eclipse using a non-administrator user account in Windows, or a non-root user in linux. When I use Administrator or root, I can install without problems. Pascal, do you have an idea of why user privileges make a difference in this case? (In reply to comment #10) > fixed Hello Pascal... is there a way to track what files changed as part of this bug? Or do you happen to remember? :) Or maybe just give me a hint of which files could have been modified. I ask because I see a really similar problem in Helios (see comment#13), and I'd like to track down the fix, to verify if this is the one that resolves the problem in Indigo and Juno Thanks in advance The change is located in the class SurrogateProfileHandler in org.eclipse.equinox.p2.engine, most likely in the method createSharedProfileIU. I found the a8d6e37f63cc02019f45617749e042019abf2626 commit but it does seem to be complete and include files that I don't recall changing. This is mostly because the commit has been created from the conversion of CVS to Git. HTH Thank you Pascal. I did some testing, and the commit you mention in comment#15 fixes the problem I'm seeing in Helios I have also request to backport this bug to 3.6.2+. It is bug 298896 Hello, I meant bug bug 398896 of course Created attachment 226036 [details] patch Here is the link to the patch fixing the issue: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=a8d6e37f63cc02019f45617749e042019abf2626 Attaching also patch in text format. while installing window builder in eclipse oxygen i am getting following error
Cannot complete the install because of a conflicting dependency.
Software being installed: WindowBuilder Core 1.0.0.r37x201106081531 (org.eclipse.wb.core.feature.feature.group 1.0.0.r37x201106081531)
Software being installed: WindowBuilder Core 1.1.0.r37x201109091012 (org.eclipse.wb.core.feature.feature.group 1.1.0.r37x201109091012)
Only one of the following can be installed at once:
WindowBuilder JDT Fragment 1.0.0.r37x201106081531 (org.eclipse.wb.jdt.fragment 1.0.0.r37x201106081531)
WindowBuilder JDT Fragment 1.1.0.r37x201109091012 (org.eclipse.wb.jdt.fragment 1.1.0.r37x201109091012)
Cannot satisfy dependency:
From: WindowBuilder Core 1.0.0.r37x201106081531 (org.eclipse.wb.core.feature.feature.group 1.0.0.r37x201106081531)
To: org.eclipse.wb.jdt.fragment [1.0.0.r37x201106081531]
Cannot satisfy dependency:
From: WindowBuilder Core 1.1.0.r37x201109091012 (org.eclipse.wb.core.feature.feature.group 1.1.0.r37x201109091012)
To: org.eclipse.wb.jdt.fragment [1.1.0.r37x201109091012]
pls help me
|