This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ea255d  add -4.x releases when available
8ea255d is described below

commit 8ea255de638648d744e7c2d1d9f692043e23a45a
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Nov 1 00:13:04 2026 +0100

    add -4.x releases when available
---
 .../maven/dist/tools/AbstractDistCheckReport.java  |  9 ++++--
 .../maven/dist/tools/ConfigurationLineInfo.java    |  4 +--
 src/main/resources/dist-tool.conf                  | 34 +++++++++++++++++++++-
 3 files changed, 41 insertions(+), 6 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/dist/tools/AbstractDistCheckReport.java 
b/src/main/java/org/apache/maven/dist/tools/AbstractDistCheckReport.java
index 23ceda0..818426a 100644
--- a/src/main/java/org/apache/maven/dist/tools/AbstractDistCheckReport.java
+++ b/src/main/java/org/apache/maven/dist/tools/AbstractDistCheckReport.java
@@ -300,9 +300,12 @@ public abstract class AbstractDistCheckReport extends 
AbstractMavenReport {
                     for (String versioningVersion : 
metadata.getVersioning().getVersions()) {
                         artifactVersions.add(new 
DefaultArtifactVersion(versioningVersion));
                     }
-                    version = aLine.getVersionRange()
-                            .matchVersion(artifactVersions)
-                            .toString();
+                    ArtifactVersion match = 
aLine.getVersionRange().matchVersion(artifactVersions);
+                    if (match == null) {
+                        getLog().error("no version matches " + 
aLine.getVersionRange() + " from " + metadataUrl + " = "
+                                + metadata.getVersioning().getVersions());
+                    }
+                    version = (match == null) ? "NA" : match.toString();
                 } else {
                     version = 
aLine.getVersionRange().getRecommendedVersion().toString();
                 }
diff --git 
a/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java 
b/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
index fae26d9..89fb859 100644
--- a/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
+++ b/src/main/java/org/apache/maven/dist/tools/ConfigurationLineInfo.java
@@ -53,7 +53,7 @@ public class ConfigurationLineInfo {
     private Metadata metadata;
 
     /**
-     * <p>Constructor for ConfigurationLineInfo.</p>
+     * <p>Constructor for ConfigurationLineInfo based on a /directory 
entry.</p>
      *
      * @param infos an array of {@link java.lang.String} objects
      */
@@ -75,7 +75,7 @@ public class ConfigurationLineInfo {
     }
 
     /**
-     * <p>Constructor for ConfigurationLineInfo.</p>
+     * <p>Constructor for ConfigurationLineInfo defining an artifact from a 
group.</p>
      *
      * @param group a {@link 
org.apache.maven.dist.tools.ConfigurationLineInfo} object
      * @param infos an array of {@link java.lang.String} objects
diff --git a/src/main/resources/dist-tool.conf 
b/src/main/resources/dist-tool.conf
index 656f6ec..26a1086 100644
--- a/src/main/resources/dist-tool.conf
+++ b/src/main/resources/dist-tool.conf
@@ -43,7 +43,6 @@
 
 /doxia: org.apache.maven.doxia
   doxia
-
 ##  doxia-book-renderer
   doxia-converter
 ## ignore for now
@@ -93,6 +92,8 @@
 
 /plugin-tools: org.apache.maven.plugin-tools
   maven-plugin-tools [3,3.99]
+> maven-plugin-tools site = https://maven.apache.org/plugin-tools-4.x/
+  maven-plugin-tools [3.99,4.99]
 
 ## when adding a plugin, don't forget 
org.apache.maven.dist.tools.prerequisites.GetPrerequisite
 /plugins: org.apache.maven.plugins https://maven.apache.org/plugins/
@@ -105,9 +106,18 @@
   maven-changes-plugin
   maven-checkstyle-plugin
   maven-clean-plugin [3,3.99]
+> maven-clean-plugin site = 
https://maven.apache.org/plugins/maven-clean-plugin-4.x/
+> maven-clean-plugin index-path = /maven-clean-plugin-4.x/
+  maven-clean-plugin [3.99,4.99]
   maven-compiler-plugin [3,3.99]
+> maven-compiler-plugin site = 
https://maven.apache.org/plugins/maven-compiler-plugin-4.x/
+> maven-compiler-plugin index-path = /maven-compiler-plugin-4.x/
+  maven-compiler-plugin [3.99,4.99]
   maven-dependency-plugin
   maven-deploy-plugin [3,3.99]
+> maven-deploy-plugin site = 
https://maven.apache.org/plugins/maven-deploy-plugin-4.x/
+> maven-deploy-plugin index-path = /maven-deploy-plugin-4.x/
+  maven-deploy-plugin [3.99,4.99]
   maven-doap-plugin
   maven-ear-plugin
   maven-ejb-plugin
@@ -116,8 +126,14 @@
   maven-gpg-plugin
   maven-help-plugin
   maven-install-plugin [3,3.99]
+> maven-install-plugin site = 
https://maven.apache.org/plugins/maven-install-plugin-4.x/
+> maven-install-plugin index-path = /maven-install-plugin-4.x/
+  maven-install-plugin [3.99,4.99]
   maven-invoker-plugin
   maven-jar-plugin [3,3.99]
+> maven-jar-plugin site = 
https://maven.apache.org/plugins/maven-jar-plugin-4.x/
+> maven-jar-plugin index-path = /maven-jar-plugin-4.x/
+  maven-jar-plugin [3.99,4.99]
   maven-jarsigner-plugin
   maven-javadoc-plugin
   maven-jdeprscan-plugin
@@ -126,19 +142,27 @@
   maven-jmod-plugin
   * maven-jxr-plugin
   * maven-plugin-plugin [3,3.99]
+  * maven-plugin-plugin [3.99,4.99]
   * maven-plugin-report-plugin [3,3.99]
+  * maven-plugin-report-plugin [3.99,4.99]
   maven-pmd-plugin
   maven-project-info-reports-plugin
   maven-rar-plugin
   * maven-release-plugin
   maven-remote-resources-plugin
   maven-resources-plugin [3,3.99]
+> maven-resources-plugin site = 
https://maven.apache.org/plugins/maven-resources-plugin-4.x/
+> maven-resources-plugin index-path = /maven-resources-plugin-4.x/
+  maven-resources-plugin [3.99,4.99]
   * maven-scm-plugin
   maven-scm-publish-plugin
   maven-scripting-plugin
   maven-shade-plugin
   maven-site-plugin [3,3.99]
   maven-source-plugin [3,3.99]
+> maven-source-plugin site = 
https://maven.apache.org/plugins/maven-source-plugin-4.x/
+> maven-source-plugin index-path = /maven-source-plugin-4.x/
+  maven-source-plugin [3.99,4.99]
   * maven-surefire-plugin
   * maven-surefire-report-plugin
   maven-toolchains-plugin
@@ -199,6 +223,9 @@
   maven-dependency-analyzer
   maven-dependency-tree
   maven-filtering [3,3.99]
+> maven-filtering site = https://maven.apache.org/shared/maven-filtering-4.x/
+> maven-filtering index-path = /maven-filtering-4.x/
+  maven-filtering [3.99,4.99]
   maven-invoker
   maven-jarsigner
   maven-mapping
@@ -221,6 +248,11 @@
 /shared: org.apache.maven https://maven.apache.org/shared/
   maven-archiver [3,3.99]
 
+/shared: org.apache.maven.shared https://maven.apache.org/shared/
+> maven-archiver site = https://maven.apache.org/shared/maven-archiver-4.x/
+> maven-archiver index-path = /maven-archiver-4.x/
+  maven-archiver [3.99,4.99]
+
 > maven-skins index-path = /skins/
 /skins: org.apache.maven.skins https://maven.apache.org/skins/
 

Reply via email to