Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348767

Summary: Version ranges of dependencies contain qualifier
Product: [Technology] Dash Reporter: Aaron Digulla <digulla>
Component: MavenAssignee: Project Dash Incoming bugs <dash-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Aaron Digulla CLA 2011-06-08 11:34:58 EDT
Jason van Zyl reports:

The problem I have found is that you generate specific projects with their POM with concrete versions, say 2.5.0.

But then in the dependency element of a project that requires that dependency you use a range like:

[2.5.0.v200906151043,3.0.0)

And this will not work because 2.5.0.v200906151043 is higher then 2.5.0 so Maven isn't going to find 2.5.0 as satisfactory.

Why don't you just generate with the concrete version 2.5.0 in the dependency requirement.

The specific case I cite here is:

No versions available for org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:[2.5.0.v200906151043,3.0.0)

Your script generated 2.5.0 of org.eclipse.emf.ecore.xmi, but dependencies on org.eclipse.emf.ecore.xmi are encoded with a range that is invalid.
Comment 1 Aaron Digulla CLA 2011-06-08 11:37:15 EDT
I'll extend the patch tool m4e-apply-patches.py to strip the qualifier from the version ranges.
Comment 2 Aaron Digulla CLA 2011-07-06 11:56:00 EDT
This has been fixed.