[ 
https://issues.apache.org/jira/browse/MNG-7644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17650625#comment-17650625
 ] 

ASF GitHub Bot commented on MNG-7644:
-------------------------------------

sultan commented on PR #930:
URL: https://github.com/apache/maven/pull/930#issuecomment-1361083577

   > > > Does this really only apply to RC or anything else which has the 
pattern `dot/hyphen{item}{digit/number}`?
   > > 
   > > 
   > > it is intended to apply to all string qualifiers: dot/hyphen{string item}
   > 
   > Then please generalize the issue summary as well as the description and 
add more tests which depict that is general and not specific. Let's make this 
complete for master first and then I consent, then you can back port and save 
time.
   
   it's fair @michael-o, i updated the Jira and PRs/commits.
   i hope its all ok now.
   thank you very much for your time!




> Fix version comparison ( .X1 < -X2 for any string qualifier X)
> --------------------------------------------------------------
>
>                 Key: MNG-7644
>                 URL: https://issues.apache.org/jira/browse/MNG-7644
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.8.6, 4.0.0-alpha-3
>            Reporter: Gwénaël Ruelland
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.8.x-candidate, 3.9.0-candidate, 4.0.x-candidate
>
>
> The current version parser does not treat .RC and -RC correctly:
> actual : 1.0.0.RC1 > 1.0.0-RC2
> expected : 1.0.0.RC1 < 1.0.0-RC2
> because RC1 < RC2
> how to fix : place a list item before qualifier
> the intention is to have this same result with all qualifier x:
> actual : 1.0.0.X1 > 1.0.0-X2
> actual : 1.0.X < 1.0.0.X
> expected : 1.0.0.X1 < 1.0.0-X2
> expected : 1.0.X == 1-X == 1.0.0.X



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to