Bug 900276 (JBPAPP6-625) - org.jboss.component.management:jboss-component-version-master contains wrong ranges
Summary: org.jboss.component.management:jboss-component-version-master contains wrong ...
Keywords:
Status: CLOSED DUPLICATE of bug 2040112
Alias: JBPAPP6-625
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 6.0.0
Assignee: Heiko Braun
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-20 20:18 UTC by Marius Bogoevici
Modified: 2014-06-28 12:33 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-09 02:55:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 900280 0 high CLOSED Remove all version ranges from the EAP 6 BOM 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBPAPP6-625 0 Major Closed org.jboss.component.management:jboss-component-version-master contains wrong ranges 2013-10-03 11:03:36 UTC

Internal Links: 900280

Description Marius Bogoevici 2012-04-20 20:18:30 UTC
project_key: JBPAPP6

The ranges described in the pom contain ranges like:

{code}
 <version.xyz>[xyz,xyz-redhat-1]</version.xyz>
{code}

This scheme isn't actually correct, as 'redhat-1' is not a known qualifier (like 'ga', 'final', etc for which maven 3 actually supports xyz < xyz-ga). While this eventually works in Maven and Eclipse, may have side effects. and it definitely throws stricter tools like IntelliJ off (prevents importing Maven projects).

Comment 1 Paul Gier 2012-04-23 13:55:46 UTC
The version comparison changed in Maven 3 so that unknown qualifiers are assumed to be later than GA.  
So for Maven 3:
x.y.z < x.y.z-redhat-1
Compared to Maven 2.x:
x.y.z > x.y.z-redhat-1

Before the GA release we plan to remove all the ranges from the BOM and only use specific versions, so issues like what you are facing will go away.


Comment 2 Paul Gier 2012-04-23 13:59:02 UTC
Link: Added: This issue relates to JBPAPP-8805


Comment 3 Paul Gier 2012-05-04 02:38:55 UTC
Will be fixed in JBPAPP-8805

Comment 4 Anne-Louise Tangring 2012-11-05 17:45:09 UTC
Docs QE Status: Removed: NEW 



Note You need to log in before you can comment on or make changes to this bug.