(maven) branch dependabot/maven/net.bytebuddy-byte-buddy-1.17.1 created (now 367731b4a5)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/net.bytebuddy-byte-buddy-1.17.1 in repository https://gitbox.apache.org/repos/asf/maven.git at 367731b4a5 Bump net.bytebuddy:byte-buddy from 1.17.0 to 1.17.1 No new revisions were added by this update.
(maven-jar-plugin) branch dependabot/maven/maven-jar-plugin-3.x/org.slf4j-slf4j-api-2.0.16 created (now aee1f49)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/maven-jar-plugin-3.x/org.slf4j-slf4j-api-2.0.16 in repository https://gitbox.apache.org/repos/asf/maven-jar-plugin.git at aee1f49 Bump org.slf4j:slf4j-api from 1.7.36 to 2.0.16 No new revisions were added by this update.
(maven-compiler-plugin) branch master updated: Publish documentation to LATEST-4.x
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git The following commit(s) were added to refs/heads/master by this push: new 1a46e2b Publish documentation to LATEST-4.x 1a46e2b is described below commit 1a46e2bfd2f64dd8f4f2e4d139f63ae77203f792 Author: Slawomir Jaranowski AuthorDate: Tue Feb 11 21:23:39 2025 +0100 Publish documentation to LATEST-4.x --- pom.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 015735f..4d14ca1 100644 --- a/pom.xml +++ b/pom.xml @@ -97,6 +97,11 @@ under the License. false 2024-11-14T13:00:00Z + + + plugins-archives/${project.artifactId}-LATEST-4.x + +${maven4x.site.path}
(maven-parent) branch master updated: Update site descriptor to 2.0
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-parent.git The following commit(s) were added to refs/heads/master by this push: new 417c5c3 Update site descriptor to 2.0 417c5c3 is described below commit 417c5c3860720eaacbf5715060d8acf3de119c4d Author: Slawomir Jaranowski AuthorDate: Thu Feb 13 22:04:57 2025 +0100 Update site descriptor to 2.0 --- docs/doxia-tools/src/site/site.xml | 19 docs/maven-extensions/src/site/site.xml| 19 docs/maven-plugins/src/site/site.xml | 18 +++ docs/maven-shared-components/src/site/site.xml | 18 +++ docs/maven-skins/src/site/site.xml | 18 +++ docs/src/site/site.xml | 16 +++ doxia-tools/src/site/site.xml | 11 ++--- maven-extensions/src/site/site.xml | 6 +-- maven-plugins/src/site/site.xml| 7 ++- maven-shared-components/src/site/site.xml | 6 +-- maven-skins/src/site/site.xml | 6 +-- src/site/site.xml | 66 +- 12 files changed, 101 insertions(+), 109 deletions(-) diff --git a/docs/doxia-tools/src/site/site.xml b/docs/doxia-tools/src/site/site.xml index 26c9b0f..d1d850d 100644 --- a/docs/doxia-tools/src/site/site.xml +++ b/docs/doxia-tools/src/site/site.xml @@ -19,9 +19,8 @@ specific language governing permissions and limitations under the License. --> -http://maven.apache.org/DECORATION/1.8.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd";> - +http://maven.apache.org/SITE/2.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd";> https://maven.apache.org/pom/maven/index.html"; /> @@ -29,13 +28,13 @@ under the License. - - - - - - + + + + + + - + diff --git a/docs/maven-extensions/src/site/site.xml b/docs/maven-extensions/src/site/site.xml index 41b0182..c7230f9 100644 --- a/docs/maven-extensions/src/site/site.xml +++ b/docs/maven-extensions/src/site/site.xml @@ -19,9 +19,8 @@ specific language governing permissions and limitations under the License. --> -http://maven.apache.org/DECORATION/1.8.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd";> - +http://maven.apache.org/SITE/2.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd";> https://maven.apache.org/pom/maven/index.html"; /> @@ -29,13 +28,13 @@ under the License. - - - - - - + + + + + + - + diff --git a/docs/maven-plugins/src/site/site.xml b/docs/maven-plugins/src/site/site.xml index 62c5417..bac855c 100644 --- a/docs/maven-plugins/src/site/site.xml +++ b/docs/maven-plugins/src/site/site.xml @@ -19,8 +19,8 @@ specific language governing permissions and limitations under the License. --> -http://maven.apache.org/DECORATION/1.8.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd";> +http://maven.apache.org/SITE/2.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd";> @@ -29,13 +29,13 @@ under the License. - - - - - - + + + + + + - + diff --git a/docs/maven-shared-components/src/site/site.xml b/docs/maven-shared-components/src/site/site.xml index 6538e37..b1c3b60 100644 --- a/docs/maven-shared-components/src/site/site.xml +++ b/docs/maven-shared-components/src/site/site.xml @@ -19,8 +19,8 @@ specific language governing permissions and limitations under the License. --> -http://maven.apache.org/DECORATION/1.8.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd";> +http://maven.apache.org/SITE/2.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd";> @@ -29,13 +29,13 @@ under the License. - - - - - - +
(maven-site) branch master updated: Add Stale action
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git The following commit(s) were added to refs/heads/master by this push: new 7321faf4 Add Stale action 7321faf4 is described below commit 7321faf4caa812a85f2fd8f748b3a13e89bde34f Author: Slawomir Jaranowski AuthorDate: Sun Feb 16 17:17:38 2025 +0100 Add Stale action --- .github/workflows/stale.yml | 28 1 file changed, 28 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index ..69f057c3 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: +- cron: '11 3 * * *' + issue_comment: +types: [ 'created' ] + +jobs: + stale: +uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'
(maven-site) branch master updated (7321faf4 -> c8e3d791)
This is an automated email from the ASF dual-hosted git repository. mbuenger pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git from 7321faf4 Add Stale action add c8e3d791 [MNGSITE-349] Add instructions for small documentation changes No new revisions were added by this update. Summary of changes: content/apt/guides/development/guide-maven-development.apt | 7 ++- content/markdown/scm.md| 8 ++-- 2 files changed, 12 insertions(+), 3 deletions(-)
(maven) branch caps created (now 08b4701a88)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch caps in repository https://gitbox.apache.org/repos/asf/maven.git at 08b4701a88 [MNGSITE-441] Characterization tests for case insensitivity in version strings This branch includes the following new commits: new 08b4701a88 [MNGSITE-441] Characterization tests for case insensitivity in version strings The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(maven) 01/01: [MNGSITE-441] Characterization tests for case insensitivity in version strings
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch caps in repository https://gitbox.apache.org/repos/asf/maven.git commit 08b4701a88f3de8f309fa03da4c54c97fda33684 Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 08:11:19 2025 -0500 [MNGSITE-441] Characterization tests for case insensitivity in version strings --- .../artifact/versioning/ComparableVersionTest.java | 28 ++ 1 file changed, 28 insertions(+) diff --git a/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java b/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java index 219d760bab..271eb28dd0 100644 --- a/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java +++ b/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java @@ -252,6 +252,34 @@ void testGetCanonical() { assertEquals("0.2", version2.getCanonical()); } +@Test +void testLexicographicASCIISortOrder() { // Required by Semver 1.0 +ComparableVersion lower = new ComparableVersion("1.0.0-alpha1"); +ComparableVersion upper = new ComparableVersion("1.0.0-ALPHA1"); +// Lower case is equal to upper case. This is *NOT* what Semver 1.0 +// specifies. Here we are explicitly deviating from Semver 1.0. +assertTrue(upper.compareTo(lower) == 0, "expected 1.0.0-ALPHA1 == 1.0.0-alpha1"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.0.0-alpha1 == 1.0.0-ALPHA1"); +} + +@Test +void testCompareLowerCaseToUpperCaseASCII() { +ComparableVersion lower = new ComparableVersion("1.a"); +ComparableVersion upper = new ComparableVersion("1.A"); +// Lower case is equal to upper case +assertTrue(upper.compareTo(lower) == 0, "expected 1.A == 1.a"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.a == 1.A"); +} + +@Test +void testCompareLowerCaseToUpperCaseNonASCII() { +ComparableVersion lower = new ComparableVersion("1.é"); +ComparableVersion upper = new ComparableVersion("1.É"); +// Lower case is equal to upper case +assertTrue(upper.compareTo(lower) == 0, "expected 1.É < 1.é"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.é > 1.É"); +} + @Test void testCompareDigitToLetter() { ComparableVersion seven = new ComparableVersion("7");
(maven-doxia) branch io deleted (was 99201544)
This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a change to branch io in repository https://gitbox.apache.org/repos/asf/maven-doxia.git was 99201544 prefer Java 7 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(maven-doxia) branch mvn4 deleted (was 33a135e5)
This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a change to branch mvn4 in repository https://gitbox.apache.org/repos/asf/maven-doxia.git was 33a135e5 Switch a few core plugins to the new api This change permanently discards the following revisions: discard 33a135e5 Switch a few core plugins to the new api discard fc358a89 Merge remote-tracking branch 'gnodet/jdk8' into mvn4 discard 4ed53188 mvn4 aggregator
(maven-doxia) branch sink deleted (was 213a0f2a)
This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a change to branch sink in repository https://gitbox.apache.org/repos/asf/maven-doxia.git was 213a0f2a DOXIA-698 Make Sink implement AutoCloseable This change permanently discards the following revisions: discard 213a0f2a DOXIA-698 Make Sink implement AutoCloseable discard 3c99825f wip
(maven-doxia) branch DOXIA-720s deleted (was f182deef)
This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a change to branch DOXIA-720s in repository https://gitbox.apache.org/repos/asf/maven-doxia.git was f182deef [DOXIA-720] Cleanup - less checkstyle violations This change permanently discards the following revisions: discard f182deef [DOXIA-720] Cleanup - less checkstyle violations discard 6fd6b29f [DOXIA-720] Cleanup - sisu-maven-plugin already configured in parent
(maven-site) branch elharo-patch-1 created (now 9a543347)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch elharo-patch-1 in repository https://gitbox.apache.org/repos/asf/maven-site.git at 9a543347 Fix spelling typo This branch includes the following new commits: new 9a543347 Fix spelling typo The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(maven-site) 01/01: Fix spelling typo
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch elharo-patch-1 in repository https://gitbox.apache.org/repos/asf/maven-site.git commit 9a543347da1bd76f1c896b3854e0079d0e03423a Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 12:35:19 2025 + Fix spelling typo inlcuding --> including --- content/apt/pom.apt.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm index 59402555..4f86df0e 100644 --- a/content/apt/pom.apt.vm +++ b/content/apt/pom.apt.vm @@ -413,7 +413,7 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Tokens comprised of the ASCII digits 0-9 (numeric tokens) have the natural order. -* Non-numeric tokens inlcuding non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: +* Non-numeric tokens including non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: "<<>>" \< "<<>>" \< "<<>>" \< "<<>>" = "<<>>" \< "<<>>" \< "" = "<<>>" = "<<>>" \< "<<>>"
(maven-resolver) 01/01: runtime
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch deps in repository https://gitbox.apache.org/repos/asf/maven-resolver.git commit f2527ed19def56076935c80e6913ced0ce8cb63a Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 07:41:15 2025 -0500 runtime --- maven-resolver-supplier-mvn3/pom.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/maven-resolver-supplier-mvn3/pom.xml b/maven-resolver-supplier-mvn3/pom.xml index a55bd84a..573510e0 100644 --- a/maven-resolver-supplier-mvn3/pom.xml +++ b/maven-resolver-supplier-mvn3/pom.xml @@ -122,13 +122,10 @@ org.slf4j slf4j-api - - org.codehaus.plexus - plexus-utils - org.codehaus.plexus plexus-xml + runtime
(maven-resolver) branch deps created (now f2527ed1)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch deps in repository https://gitbox.apache.org/repos/asf/maven-resolver.git at f2527ed1 runtime This branch includes the following new commits: new f2527ed1 runtime The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(maven-resolver) 01/01: Merge branch 'master' into deps
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch deps in repository https://gitbox.apache.org/repos/asf/maven-resolver.git commit 4680f59f72b1469e3fec9bc49703d854082578a0 Merge: f2527ed1 508504d6 Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 07:42:26 2025 -0500 Merge branch 'master' into deps maven-resolver-api/pom.xml | 2 +- maven-resolver-connector-basic/pom.xml | 2 +- .../maven-resolver-demo-maven-plugin/pom.xml | 2 +- .../maven-resolver-demo-snippets/pom.xml | 2 +- maven-resolver-demos/pom.xml | 2 +- maven-resolver-generator-gnupg/pom.xml | 2 +- maven-resolver-generator-sigstore/pom.xml | 2 +- maven-resolver-impl/pom.xml| 2 +- maven-resolver-named-locks-hazelcast/pom.xml | 2 +- maven-resolver-named-locks-ipc/pom.xml | 2 +- maven-resolver-named-locks-redisson/pom.xml| 2 +- maven-resolver-named-locks/pom.xml | 2 +- maven-resolver-spi/pom.xml | 2 +- maven-resolver-supplier-mvn3/pom.xml | 2 +- maven-resolver-supplier-mvn4/pom.xml | 2 +- maven-resolver-test-http/pom.xml | 2 +- maven-resolver-test-util/pom.xml | 2 +- maven-resolver-tools/pom.xml | 2 +- maven-resolver-transport-apache/pom.xml| 2 +- maven-resolver-transport-classpath/pom.xml | 2 +- maven-resolver-transport-file/pom.xml | 2 +- .../maven-resolver-transport-jdk-11/pom.xml| 2 +- .../maven-resolver-transport-jdk-8/pom.xml | 2 +- .../maven-resolver-transport-jdk/pom.xml | 2 +- maven-resolver-transport-jdk-parent/pom.xml| 2 +- maven-resolver-transport-jetty/pom.xml | 2 +- maven-resolver-transport-minio/pom.xml | 2 +- maven-resolver-transport-wagon/pom.xml | 2 +- maven-resolver-util/pom.xml| 2 +- pom.xml| 6 ++ src/site/markdown/local-repository.md | 18 ++ 31 files changed, 49 insertions(+), 33 deletions(-)
(maven-site) branch case created (now 28ae52d4)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch case in repository https://gitbox.apache.org/repos/asf/maven-site.git at 28ae52d4 Maven compares version strings in case insensitive fashion. This branch includes the following new commits: new 28ae52d4 Maven compares version strings in case insensitive fashion. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(maven-site) 01/01: Maven compares version strings in case insensitive fashion.
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch case in repository https://gitbox.apache.org/repos/asf/maven-site.git commit 28ae52d4b960c5890e4209ecac51c4cd18aea2ce Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 08:30:50 2025 -0500 Maven compares version strings in case insensitive fashion. --- content/apt/pom.apt.vm | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm index 59402555..4516aaa8 100644 --- a/content/apt/pom.apt.vm +++ b/content/apt/pom.apt.vm @@ -358,16 +358,20 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa Version Order Specification If version strings are syntactically correct {{{https://semver.org/spec/v1.0.0.html}Semantic Versioning 1.0.0}} - version numbers, then in almost all cases version comparison follows the precedence rules outlined in that specification. + version numbers, then in most cases version comparison follows the precedence rules outlined in that specification. These versions are the commonly encountered alphanumeric ASCII strings such as 2.15.2-alpha. - More precisely, this is true if both version numbers to be compared match the "valid semver" - production in the BNF grammar in the semantic versioning specification. - Maven does not consider any semantics implied by that specification. + More precisely, this is true if both version strings to be compared match the "valid semver" + production in the BNF grammar for semantic versioning and both version strings only + use lower case letters. Maven does not consider any semantics implied by Semantic Versioning. <>: This is only true for Semantic Versioning <1.0.0>. The Maven version order algorithm is not compatible with Semantic Versioning <2.0.0>. In particular, Maven does not special case the plus sign or consider build identifiers. + <>: Maven compares version strings using case insensitive rules. Semver is + case sensitive. Thus in Semver, 3.2-ALPHA1 compares greater than 3.2-alpha1. In Maven + 3.2-ALPHA1 compares equal to 3.2-alpha1. + When version strings do not follow semantic versioning, a more complex set of rules is required. The Maven coordinate is split into tokens between dots ('<<<.>>>'), hyphens ('<<<->>>'), underscores ('<<<_>>>'), and transitions between digits and characters. The separator is recorded and will have effect on the order. A transition @@ -405,15 +409,16 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa [] - The version order is the <<>> on this sequence of prefixed tokens, the shorter one - padded with enough "null" values with matching prefix to have the same length as the longer one. Padded "null" values depend on the prefix of the other version: 0 for '.', "" for '-'. + The version order is the <<>> on this sequence of prefixed tokens, the shorter one + padded with enough "null" values with matching prefix to have the same length as the longer one. + Padded "null" values depend on the prefix of the other version: 0 for '.', "" for '-'. The prefixed token order is: * if the prefix is the same, then compare the token: * Tokens comprised of the ASCII digits 0-9 (numeric tokens) have the natural order. -* Non-numeric tokens inlcuding non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: +* Non-numeric tokens including non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: "<<>>" \< "<<>>" \< "<<>>" \< "<<>>" = "<<>>" \< "<<>>" \< "" = "<<>>" = "<<>>" \< "<<>>" @@ -421,6 +426,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Alphabetic tokens other than the special cases described above come before numeric tokens. +* Alphabetic tokens are compared in a case insensitive fashion in the {{{https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#ENGLISH}English locale}}}. For example, "A" and "a" are treated the same as are "i" and "I" and "é" and "É". + * else "<<<.qualifier>>>" = "<<<-qualifier>>>" \< "<<<-number>>>" \< "<<<.number>>>" * <<>> = <<>> < <<>> = <<>> < <<>> = <<>> < <<>> = <<>> < <<>> < '<<<>>>' = <<>> = <<>> = <<>> \< <<>> @@ -441,6 +448,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Avoid non-ASCII characters, including non-ASCII digits, which may sort in surprising ways. + * Avoid upper case characters. + [] End Result Examples: @@ -463,6 +472,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * "<<<1-a1>>>" = "<<<1-alpha-1>>>" + * "<<<1.0-alpha1>>>" = "<<<1.0-ALPHA1>>>" (case insensitivity) + * "<<<1.7>>>" \>
(maven-site) branch master updated: Maven compares version strings in case insensitive fashion. (#689)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git The following commit(s) were added to refs/heads/master by this push: new 0645fbd6 Maven compares version strings in case insensitive fashion. (#689) 0645fbd6 is described below commit 0645fbd6c298a362ebfdd2ed3568e5b28ca36342 Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 16:52:19 2025 + Maven compares version strings in case insensitive fashion. (#689) --- content/apt/pom.apt.vm | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm index 4f86df0e..4516aaa8 100644 --- a/content/apt/pom.apt.vm +++ b/content/apt/pom.apt.vm @@ -358,16 +358,20 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa Version Order Specification If version strings are syntactically correct {{{https://semver.org/spec/v1.0.0.html}Semantic Versioning 1.0.0}} - version numbers, then in almost all cases version comparison follows the precedence rules outlined in that specification. + version numbers, then in most cases version comparison follows the precedence rules outlined in that specification. These versions are the commonly encountered alphanumeric ASCII strings such as 2.15.2-alpha. - More precisely, this is true if both version numbers to be compared match the "valid semver" - production in the BNF grammar in the semantic versioning specification. - Maven does not consider any semantics implied by that specification. + More precisely, this is true if both version strings to be compared match the "valid semver" + production in the BNF grammar for semantic versioning and both version strings only + use lower case letters. Maven does not consider any semantics implied by Semantic Versioning. <>: This is only true for Semantic Versioning <1.0.0>. The Maven version order algorithm is not compatible with Semantic Versioning <2.0.0>. In particular, Maven does not special case the plus sign or consider build identifiers. + <>: Maven compares version strings using case insensitive rules. Semver is + case sensitive. Thus in Semver, 3.2-ALPHA1 compares greater than 3.2-alpha1. In Maven + 3.2-ALPHA1 compares equal to 3.2-alpha1. + When version strings do not follow semantic versioning, a more complex set of rules is required. The Maven coordinate is split into tokens between dots ('<<<.>>>'), hyphens ('<<<->>>'), underscores ('<<<_>>>'), and transitions between digits and characters. The separator is recorded and will have effect on the order. A transition @@ -405,8 +409,9 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa [] - The version order is the <<>> on this sequence of prefixed tokens, the shorter one - padded with enough "null" values with matching prefix to have the same length as the longer one. Padded "null" values depend on the prefix of the other version: 0 for '.', "" for '-'. + The version order is the <<>> on this sequence of prefixed tokens, the shorter one + padded with enough "null" values with matching prefix to have the same length as the longer one. + Padded "null" values depend on the prefix of the other version: 0 for '.', "" for '-'. The prefixed token order is: * if the prefix is the same, then compare the token: @@ -421,6 +426,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Alphabetic tokens other than the special cases described above come before numeric tokens. +* Alphabetic tokens are compared in a case insensitive fashion in the {{{https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html#ENGLISH}English locale}}}. For example, "A" and "a" are treated the same as are "i" and "I" and "é" and "É". + * else "<<<.qualifier>>>" = "<<<-qualifier>>>" \< "<<<-number>>>" \< "<<<.number>>>" * <<>> = <<>> < <<>> = <<>> < <<>> = <<>> < <<>> = <<>> < <<>> < '<<<>>>' = <<>> = <<>> = <<>> \< <<>> @@ -441,6 +448,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Avoid non-ASCII characters, including non-ASCII digits, which may sort in surprising ways. + * Avoid upper case characters. + [] End Result Examples: @@ -463,6 +472,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * "<<<1-a1>>>" = "<<<1-alpha-1>>>" + * "<<<1.0-alpha1>>>" = "<<<1.0-ALPHA1>>>" (case insensitivity) + * "<<<1.7>>>" \> "1.K" * "<<5.zebra>>>" \> "5.aardvark"
(maven-site) branch case deleted (was 28ae52d4)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch case in repository https://gitbox.apache.org/repos/asf/maven-site.git was 28ae52d4 Maven compares version strings in case insensitive fashion. The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(maven) branch caps deleted (was 08b4701a88)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch caps in repository https://gitbox.apache.org/repos/asf/maven.git was 08b4701a88 [MNGSITE-441] Characterization tests for case insensitivity in version strings The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(maven) branch master updated: [MNGSITE-441] Characterization tests for case insensitivity in version strings (#2114)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven.git The following commit(s) were added to refs/heads/master by this push: new 0d6ed20cfa [MNGSITE-441] Characterization tests for case insensitivity in version strings (#2114) 0d6ed20cfa is described below commit 0d6ed20cfa921865526ebf29527cbf3aa0d9ee47 Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 16:52:32 2025 + [MNGSITE-441] Characterization tests for case insensitivity in version strings (#2114) --- .../artifact/versioning/ComparableVersionTest.java | 28 ++ 1 file changed, 28 insertions(+) diff --git a/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java b/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java index 219d760bab..271eb28dd0 100644 --- a/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java +++ b/compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java @@ -252,6 +252,34 @@ void testGetCanonical() { assertEquals("0.2", version2.getCanonical()); } +@Test +void testLexicographicASCIISortOrder() { // Required by Semver 1.0 +ComparableVersion lower = new ComparableVersion("1.0.0-alpha1"); +ComparableVersion upper = new ComparableVersion("1.0.0-ALPHA1"); +// Lower case is equal to upper case. This is *NOT* what Semver 1.0 +// specifies. Here we are explicitly deviating from Semver 1.0. +assertTrue(upper.compareTo(lower) == 0, "expected 1.0.0-ALPHA1 == 1.0.0-alpha1"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.0.0-alpha1 == 1.0.0-ALPHA1"); +} + +@Test +void testCompareLowerCaseToUpperCaseASCII() { +ComparableVersion lower = new ComparableVersion("1.a"); +ComparableVersion upper = new ComparableVersion("1.A"); +// Lower case is equal to upper case +assertTrue(upper.compareTo(lower) == 0, "expected 1.A == 1.a"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.a == 1.A"); +} + +@Test +void testCompareLowerCaseToUpperCaseNonASCII() { +ComparableVersion lower = new ComparableVersion("1.é"); +ComparableVersion upper = new ComparableVersion("1.É"); +// Lower case is equal to upper case +assertTrue(upper.compareTo(lower) == 0, "expected 1.É < 1.é"); +assertTrue(lower.compareTo(upper) == 0, "expected 1.é > 1.É"); +} + @Test void testCompareDigitToLetter() { ComparableVersion seven = new ComparableVersion("7");
(maven-site) branch elharo-patch-1 deleted (was 9a543347)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch elharo-patch-1 in repository https://gitbox.apache.org/repos/asf/maven-site.git was 9a543347 Fix spelling typo The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(maven-site) branch master updated: Fix spelling typo (#688)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git The following commit(s) were added to refs/heads/master by this push: new 89b5ebb2 Fix spelling typo (#688) 89b5ebb2 is described below commit 89b5ebb21345d076fb85918421742ae5bde83113 Author: Elliotte Rusty Harold AuthorDate: Sun Feb 16 15:13:33 2025 + Fix spelling typo (#688) inlcuding --> including --- content/apt/pom.apt.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm index 59402555..4f86df0e 100644 --- a/content/apt/pom.apt.vm +++ b/content/apt/pom.apt.vm @@ -413,7 +413,7 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * Tokens comprised of the ASCII digits 0-9 (numeric tokens) have the natural order. -* Non-numeric tokens inlcuding non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: +* Non-numeric tokens including non-ASCII digits ("qualifiers") have the alphabetical order, except for the following tokens which come first in this order: "<<>>" \< "<<>>" \< "<<>>" \< "<<>>" = "<<>>" \< "<<>>" \< "" = "<<>>" = "<<>>" \< "<<>>"
(maven-resolver) branch deps updated (f2527ed1 -> 4680f59f)
This is an automated email from the ASF dual-hosted git repository. elharo pushed a change to branch deps in repository https://gitbox.apache.org/repos/asf/maven-resolver.git from f2527ed1 runtime add de21d1d0 [maven-release-plugin] prepare release maven-resolver-2.0.6 add b8627293 [maven-release-plugin] prepare for next development iteration add cd8c17ee [MRESOLVER-633] Document caching of unresolvable artifacts add 8cd30243 doc: minor cleanup add 9b6adb9d Do not skip PMD add 508504d6 ASCII digits only for versions (#652) new 4680f59f Merge branch 'master' into deps The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: maven-resolver-api/pom.xml | 2 +- maven-resolver-connector-basic/pom.xml | 2 +- .../maven-resolver-demo-maven-plugin/pom.xml | 2 +- .../maven-resolver-demo-snippets/pom.xml | 2 +- maven-resolver-demos/pom.xml | 2 +- maven-resolver-generator-gnupg/pom.xml | 2 +- maven-resolver-generator-sigstore/pom.xml | 2 +- maven-resolver-impl/pom.xml| 2 +- maven-resolver-named-locks-hazelcast/pom.xml | 2 +- maven-resolver-named-locks-ipc/pom.xml | 2 +- maven-resolver-named-locks-redisson/pom.xml| 2 +- maven-resolver-named-locks/pom.xml | 2 +- maven-resolver-spi/pom.xml | 2 +- maven-resolver-supplier-mvn3/pom.xml | 2 +- maven-resolver-supplier-mvn4/pom.xml | 2 +- maven-resolver-test-http/pom.xml | 2 +- maven-resolver-test-util/pom.xml | 2 +- maven-resolver-tools/pom.xml | 2 +- maven-resolver-transport-apache/pom.xml| 2 +- maven-resolver-transport-classpath/pom.xml | 2 +- maven-resolver-transport-file/pom.xml | 2 +- .../maven-resolver-transport-jdk-11/pom.xml| 2 +- .../maven-resolver-transport-jdk-8/pom.xml | 2 +- .../maven-resolver-transport-jdk/pom.xml | 2 +- maven-resolver-transport-jdk-parent/pom.xml| 2 +- maven-resolver-transport-jetty/pom.xml | 2 +- maven-resolver-transport-minio/pom.xml | 2 +- maven-resolver-transport-wagon/pom.xml | 2 +- maven-resolver-util/pom.xml| 2 +- pom.xml| 6 ++ src/site/markdown/local-repository.md | 18 ++ 31 files changed, 49 insertions(+), 33 deletions(-)
(maven-mvnd) branch master updated: Add Stale action
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git The following commit(s) were added to refs/heads/master by this push: new c64c8b85 Add Stale action c64c8b85 is described below commit c64c8b850fb225ac1f4be9cb347ac74de5f689d7 Author: Slawomir Jaranowski AuthorDate: Sat Feb 15 09:56:20 2025 +0100 Add Stale action --- .github/workflows/stale.yml | 28 1 file changed, 28 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index ..9a2d7df2 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: +- cron: '55 2 * * *' + issue_comment: +types: [ 'created' ] + +jobs: + stale: +uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'
(maven-site) branch master updated: Add info about automated actions on GitHub
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git The following commit(s) were added to refs/heads/master by this push: new 455ca5bc Add info about automated actions on GitHub 455ca5bc is described below commit 455ca5bc12fe4018b14fd2b0ce7ac7b081b1b4f3 Author: Slawomir Jaranowski AuthorDate: Sun Feb 16 17:56:22 2025 +0100 Add info about automated actions on GitHub --- content/markdown/developers/conventions/github.md | 10 ++ 1 file changed, 10 insertions(+) diff --git a/content/markdown/developers/conventions/github.md b/content/markdown/developers/conventions/github.md index 01119275..5c030019 100644 --- a/content/markdown/developers/conventions/github.md +++ b/content/markdown/developers/conventions/github.md @@ -93,6 +93,16 @@ We use [GitHub Issues `Milestones`](https://docs.github.com/en/issues/using-labe [Issues and PR associated to a Milestone](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/viewing-your-milestones-progress) are publicly available, so we can use Milestone view during voting. +## Automated actions + +### Labels + +Issues and Pull Request with `waiting-for-feedback` label without response will be closed automatically after 90 days. + +### Pull Request + +On Pull Request close default label `maintenance` and milestone according to branch will be added. + ## Further Links - [GitHub Pull requests documentation](https://docs.github.com/en/pull-requests)
(maven-compiler-plugin) branch maven-compiler-plugin-3.x updated: Update scm tag according to branch
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch maven-compiler-plugin-3.x in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git The following commit(s) were added to refs/heads/maven-compiler-plugin-3.x by this push: new 19b8b12 Update scm tag according to branch 19b8b12 is described below commit 19b8b128f422622cef20992bcadec52288fce489 Author: Slawomir Jaranowski AuthorDate: Sat Feb 15 23:35:39 2025 +0100 Update scm tag according to branch --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index af0a3b9..96d7bc7 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ under the License. scm:git:https://github.com/apache/maven-compiler-plugin.git scm:git:https://github.com/apache/maven-compiler-plugin.git -maven-compiler-plugin-3.10.0 +maven-compiler-plugin-3.x https://github.com/apache/maven-compiler-plugin/tree/${project.scm.tag}
(maven-compiler-plugin) branch master updated: Add Stale action
This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git The following commit(s) were added to refs/heads/master by this push: new 51fd5f0 Add Stale action 51fd5f0 is described below commit 51fd5f0fa807553fc9e030bea769eeeff10d4258 Author: Slawomir Jaranowski AuthorDate: Sun Feb 16 18:10:32 2025 +0100 Add Stale action --- .github/workflows/stale.yml | 28 1 file changed, 28 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000..458ca4b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: +- cron: '14 3 * * *' + issue_comment: +types: [ 'created' ] + +jobs: + stale: +uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'