Vampire commented on code in PR #707:
URL: https://github.com/apache/maven-site/pull/707#discussion_r1970232213


##########
content/apt/pom.apt.vm:
##########
@@ -479,31 +479,31 @@ mvn install:install-file -Dfile=non-maven-proj.jar 
-DgroupId=some.group -Dartifa
 
   * "<<<1-foo2>>>" \< "<<<1-foo10>>>" (correctly automatically "switching" to 
numeric order)
 
-  * "<<<1.foo>>>" = "<<<1-foo>>>" \< "<<<1-1>>>" = "<<<1.1>>>"
+  * "<<<1.foo>>>" = "<<<1-foo>>>" \< "<<<1-1>>>" \< "<<<1.1>>>"
 
   * "<<<1.ga>>>" = "<<<1-ga>>>" = "<<<1-0>>>" = "<<<1.0>>>" = "<<<1>>>" 
(removing of trailing "null" values)
 
   * "<<<1-sp>>>" \> "<<<1-ga>>>"
 
   * "<<<1-sp.1>>>" \> "<<<1-ga.1>>>"
 
-  * "<<<1-sp-1>>>" \> "<<<1-ga-1>>>"
+  * "<<<1-sp-1>>>" \< "<<<1-ga-1>>>"
 
   * "<<<1-a1>>>" = "<<<1-alpha-1>>>"
 
   * "<<<1.0-alpha1>>>" = "<<<1.0-ALPHA1>>>" (case insensitivity)
 
-  * "<<<1.7>>>" \> "1.K"
+  * "<<<1.7>>>" \> "<<<1.K>>>"
 
-  * "<<5.zebra>>>" \> "5.aardvark"
+  * "<<<5.zebra>>>" \> "<<<5.aardvark>>>"
 
-  * "<<1.α>>>" \> "1.b" (Note the Greek letter alpha.)
+  * "<<<1.α>>>" \> "<<<1.b>>>" (Note the Greek letter alpha.)
 
   Note: Contrary to what was stated in some design documents, for version 
order, snapshots are not treated differently than releases or any other 
qualifier.
 
   Note: As <<<2.0-rc1>>> \< <<<2.0>>>, the version requirement <<<[1.0,2.0)>>> 
excludes <<<2.0>>> but includes version <<<2.0-rc1>>>, which is contrary to
   what most people expect. In addition, Gradle interprets it differently, 
resulting in different dependency trees for the same POM.
-  If the intention is to restrict it to <1.*> versions, the better version 
requirement is <<<[1,1.999999)>>>.
+  If the intention is to restrict it to <<<1.*>>> versions, the better version 
requirement is <<<[1,1.999999)>>> or <<<[1,2alpha)>>>.

Review Comment:
   Actually it depends.
   If only Maven consumers are involved, yes, as `2alpha` or `2-alpha` (maybe 
reads better) is the smallest possible version.
   But as the text just talked about differences with Gradle, there `2a` would 
be the smallest possible version and so the `1.999999` could also have its 
use-cases. 🤷‍♂️



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to