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 81b36b9 display Git repository id when different from artifactId
81b36b9 is described below
commit 81b36b96258e2471c068dc18c126056c54fcdba5
Author: Hervé Boutemy <[email protected]>
AuthorDate: Sat Oct 31 17:26:33 2026 +0100
display Git repository id when different from artifactId
---
.../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 7e886f8..a9a05f6 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
@@ -154,7 +154,7 @@ public class DistCheckSourceReleaseReport extends
AbstractDistCheckReport {
sink.rawText(cli.getArtifactId());
sink.text(" (");
sink.link("https://github.com/apache/" + gitRepositoryId);
- sink.text("Git");
+ sink.text(cli.getArtifactId().equals(gitRepositoryId) ? "Git" :
(gitRepositoryId + ".git"));
sink.link_();
sink.text(")");
sink.tableCell_();