Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330896 - Cannot install Subversive Integrations - Maven with M2Eclipse 0.12.0
Summary: Cannot install Subversive Integrations - Maven with M2Eclipse 0.12.0
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 04:42 EST by Fabio CLA
Modified: 2011-02-28 12:57 EST (History)
24 users (show)

See Also:


Attachments
Installation shell script that doesn't work. (1003 bytes, application/x-sh)
2011-02-20 12:35 EST, Michael Pellaton CLA
no flags Details
Installation shell script that works. (989 bytes, application/x-sh)
2011-02-20 12:36 EST, Michael Pellaton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio CLA 2010-11-23 04:42:14 EST
Build Identifier: 

There is a new version of m2eclipse (0.12.0):
http://m2eclipse.sonatype.org/index.html

This new version doesn't work with the current version of Subversive
Integrations.

http://community.polarion.com/projects/subversive/download/integrations/helios-site/
 - Subversive Integration for the M2Eclipse Project 1.0.2.I20100223-1900

The error is:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Subversive Integration for the M2Eclipse Project 1.0.2.I20100223-1900 (org.polarion.eclipse.team.svn.m2eclipse.feature.group 1.0.2.I20100223-1900)
  Software currently installed: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102 (org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 0.12.0.20101115-1102 (org.maven.ide.eclipse 0.12.0.20101115-1102)
    Maven Integration for Eclipse 0.10.2.20100623-1649 (org.maven.ide.eclipse 0.10.2.20100623-1649)
    Maven Integration for Eclipse 0.10.0.20100209-0800 (org.maven.ide.eclipse 0.10.0.20100209-0800)
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse (Required) 0.12.0.20101115-1102 (org.maven.ide.eclipse.feature.feature.group 0.12.0.20101115-1102)
    To: org.maven.ide.eclipse [0.12.0.20101115-1102]
  Cannot satisfy dependency:
    From: Subversive Integration for the M2Eclipse Project 1.0.2.I20100223-1900 (org.polarion.eclipse.team.svn.m2eclipse.feature.group 1.0.2.I20100223-1900)
    To: org.maven.ide.eclipse [0.10.0,0.11.0)






Reproducible: Always

Steps to Reproduce:
1. Install helios sr1
2. Install m2eclipse 0.12.0 from the update site http://m2eclipse.sonatype.org/sites/m2e
3. Try to install Subversive Integration for the M2Eclipse from http://community.polarion.com/projects/subversive/download/integrations/helios-site/
Comment 1 Marc CLA 2010-11-29 19:18:18 EST
Thought that I would post the URL to the 0.10.2 version for anybody that is stuck and needing the old version until this is fixed.

http://m2eclipse.sonatype.org/sites/archives/m2e-0.10.2.20100623-1649/
Comment 2 Stevo Slavic CLA 2010-12-28 03:16:01 EST
+1
Comment 3 Alexey Mising name CLA 2011-01-04 07:10:45 EST
+1
Comment 4 Aleksandar Stoisavljevic CLA 2011-01-10 05:11:43 EST
+1
Comment 5 Nemanja Nedic CLA 2011-01-12 09:03:35 EST
+1
Comment 6 Frank Prumbaum CLA 2011-01-13 01:30:30 EST
+1
Comment 7 Josip Maslac CLA 2011-01-14 06:14:39 EST
+1
Comment 8 Josip Maslac CLA 2011-01-16 05:53:13 EST
(In reply to comment #7)
> +1

I've made a quick fix for this that resolves to status WORKSFORME.

These are the steps:

- if under "Preferences>Install/Update>Available Software Sites" you have http://community.polarion.com/projects/subversive/download/integrations/helios-site/ remove it

- add http://www.nofrx.org/josip/svn-m2eclipse as the update site and install the plugin from there


NOTE: I've contacted the owner of the bug - this is just a quick fix that seems to work fine until official fix is released. 
Thought it would be useful to share until that happens.
Comment 9 Fabio CLA 2011-01-17 05:55:23 EST
(In reply to comment #8)
> (In reply to comment #7)
> > +1
> 
> I've made a quick fix for this that resolves to status WORKSFORME.
> 
> These are the steps:
> 
> - if under "Preferences>Install/Update>Available Software Sites" you have
> http://community.polarion.com/projects/subversive/download/integrations/helios-site/
> remove it
> 
> - add http://www.nofrx.org/josip/svn-m2eclipse as the update site and install
> the plugin from there
> 
> 
> NOTE: I've contacted the owner of the bug - this is just a quick fix that seems
> to work fine until official fix is released. 
> Thought it would be useful to share until that happens.

Hi Josip,
I've tried your fix and it works also for me.

Thanx!
Comment 10 Eugen Paraschiv CLA 2011-01-24 18:02:00 EST
+1
Comment 11 Stevo Slavic CLA 2011-01-24 18:51:56 EST
This is coming, as part of m2eclipse extras

See http://markmail.org/message/cmodiuzt73y4pvhv for more info

Regards,
Stevo.
Comment 12 Alexander Gurov CLA 2011-02-19 06:30:18 EST
Fixed and deployed to the update site.
Comment 13 Michael Pellaton CLA 2011-02-20 11:25:02 EST
To which update site?

Using these three sites
http://community.polarion.com/projects/subversive/download/integrations/helios-site
http://m2eclipse.sonatype.org/sites/m2e
http://m2eclipse.sonatype.org/sites/m2e-extras

I still get the error mentioned when installing these IUs:
org.maven.ide.eclipse.feature.feature.group
org.polarion.eclipse.team.svn.m2eclipse.feature.group
Comment 14 Michael Pellaton CLA 2011-02-20 12:12:21 EST
As far as I can see, there is still a problem in the feature
org.polarion.eclipse.team.svn.m2eclipse - 1.0.2.I20110223-1700

However, I discovered a workaround:
Instead of installing the feature (IU: org.polarion.eclipse.team.svn.m2eclipse.feature.group) which fails with the error described in this bug, one can successfully install the plug-in only (IU: org.polarion.eclipse.team.svn.m2eclipse).

On a sidenote: can Polarion do time travel? As one can easily see above, a feature from the future seems to be on the update site...
Comment 15 Michael Pellaton CLA 2011-02-20 12:35:42 EST
Created attachment 189367 [details]
Installation shell script that doesn't work.
Comment 16 Michael Pellaton CLA 2011-02-20 12:36:58 EST
Created attachment 189368 [details]
Installation shell script that works.

The two shell script I attached showcase the difference between installing the feature and the plug-in only - the latter works and the other one doesn't.
Comment 17 Michael Pellaton CLA 2011-02-20 12:38:05 EST
After these findings I suggest REOPENING the bug.
Comment 18 Alexander Gurov CLA 2011-02-27 09:12:41 EST
Update site with the fixed version:

http://community.polarion.com/projects/subversive/download/integrations/update-site/
Comment 19 Alexander Gurov CLA 2011-02-27 09:20:26 EST
If there is still an issue, please provide some information about it: 
content of the error message?
which version of m2eclipse is used?
And please do not hesitate to reopen the issue report. :)

P.S.
Actaully, after fixing initial issue I checked solution and it worked well, so I can't see the error and can't solve the problem if it still exists.

P.S.S.
Regarding time travel - that is funny. Actually I haven't planned to deploy the build earlier, so it is my failure to not paying attention to the build number before publishing it. Still, it should not affect how it works. :)
Comment 20 Alexander Gurov CLA 2011-02-27 09:33:52 EST
I'm. sorry, I see where the issue is. Will fix it shortly.
Comment 21 Alexander Gurov CLA 2011-02-27 09:47:33 EST
So, there are two issues fixed:
- compatibility options for the M2Eclipse integration feature
- update site references in the both: M2Eclipse and ProjectSet integrations

Correcti update site are deployed to:

http://community.polarion.com/projects/subversive/download/integrations/update-site/

and

http://community.polarion.com/projects/subversive/download/integrations/helios-site/

In order to check I have installed both integrations into the Eclipse IDE 3.7M5 and it seems to works just fine.
Comment 22 Michael Pellaton CLA 2011-02-27 16:06:38 EST
I can confirm that it is fixed now. Tested with 3.6.2 SDK and Helios sites.
Comment 23 Alexey Mising name CLA 2011-02-28 02:43:11 EST
+1 Fixed. Eclipse 3.6.2. All install successful.
Comment 24 Jordan Hein CLA 2011-02-28 12:57:30 EST
+1 Fixed. Eclipse 3.6.1. All install successful. Thanks!