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 809c4e4 avoid NPE for mvnd
809c4e4 is described below
commit 809c4e46bcdb9c93c1ef66ee8c430d9d6c11f360
Author: Hervé Boutemy <[email protected]>
AuthorDate: Sat Oct 31 01:53:01 2026 +0100
avoid NPE for mvnd
---
.../apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
b/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
index 4a8871d..957c31d 100644
---
a/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
+++
b/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
@@ -200,7 +200,7 @@ public class DistCheckSourceReleaseReport extends
AbstractDistCheckReport {
sink.lineBreak();
iconError(sink);
sink.rawText(missing);
- if (!csrr.central.contains(missing)) {
+ if ((csrr.central != null) && !csrr.central.contains(missing))
{
// if the release distribution is in central repository,
we can get it from there...
cliMissing.append("\nwget ");
cliMissing.append(cli.getVersionnedFolderURL(repoBaseUrl,
csrr.getVersion()));