You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2025/12/20 23:27:59 UTC

(maven-dist-tool) branch master updated: Add link to gh from plugins

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

slachiewicz 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 4341a92  Add link to gh from plugins
4341a92 is described below

commit 4341a92563ad1b4a8e53be6bdf2f3ab12cc958eb
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sat Dec 20 23:11:24 2025 +0100

    Add link to gh from plugins
---
 .../dist/tools/prerequisites/ListPluginsPrerequisitesReport.java      | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesReport.java b/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesReport.java
index 90efb11..8b86424 100644
--- a/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesReport.java
+++ b/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesReport.java
@@ -34,6 +34,8 @@ import org.apache.maven.reporting.MavenReportException;
  */
 @Mojo(name = "list-plugins-prerequisites", requiresProject = false)
 public class ListPluginsPrerequisitesReport extends AbstractMavenReport {
+    private static final String GITHUB_URL = "https://github.com/apache/";
+
     /**
      * List Plugins Prerequisites Report
      */
@@ -117,7 +119,9 @@ public class ListPluginsPrerequisitesReport extends AbstractMavenReport {
                     for (PluginPrerequisites pluginPrerequisites : pluginsPrerequisites) {
                         sink.tableRow();
                         sink.tableCell();
+                        sink.link(GITHUB_URL + pluginPrerequisites.getPluginName());
                         sink.text(pluginPrerequisites.getPluginName());
+                        sink.link_();
                         sink.tableCell_();
 
                         sink.tableCell();