Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335095 - Embedder shows incorrect version
Summary: Embedder shows incorrect version
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 18:09 EST by Michael Osipov CLA
Modified: 2021-04-19 13:25 EDT (History)
1 user (show)

See Also:


Attachments
Prefs showing wrong version (51.02 KB, image/png)
2011-01-22 18:11 EST, Michael Osipov CLA
no flags Details
Class file with wrong embedder version (109.77 KB, image/png)
2011-01-22 18:11 EST, Michael Osipov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov CLA 2011-01-22 18:09:51 EST
As you can see on the screenshot, the Embedder is shown as 3.0-SNAPSHOT which is incorrect. The Maven version in 0.12.2 is 3.0.2. I traced down the problem and is quite subtle. The bundle org.maven.ide.eclipse_0.12.1.20110112-1712 has been compiled incorrectly. A grep against the content of this jar reveiled that the MavenEmbeddedRuntime.class contains version = 3.0-SNAPSHOT as string. I think this has to be compiled against new versions or rebundled.
Comment 1 Michael Osipov CLA 2011-01-22 18:11:20 EST
Created attachment 187367 [details]
Prefs showing wrong version
Comment 2 Michael Osipov CLA 2011-01-22 18:11:50 EST
Created attachment 187368 [details]
Class file with wrong embedder version
Comment 3 Paul Tatavu CLA 2011-01-24 13:02:44 EST
Fix bug was fixed in m2e 0.13.x
Comment 4 Denis Roy CLA 2021-04-19 13:25:29 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/