elharo commented on code in PR #707: URL: https://github.com/apache/maven-site/pull/707#discussion_r1971542537
########## 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: IMHO any tool that uses the Maven repository system should be following Maven rules here. I sort of wish the repo system were a little more independent of the rest of Maven, but that's the price of early success. -- 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