You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/01/06 22:52:58 UTC

[maven-dependency-plugin] branch master updated: [MDEP-841] Explicitly start and end tables with Doxia Sinks in report renderers

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

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b478d61 [MDEP-841] Explicitly start and end tables with Doxia Sinks in report renderers
4b478d61 is described below

commit 4b478d61e1e78f5bddda6d1256f91c357c2561a4
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Fri Jan 6 23:47:32 2023 +0100

    [MDEP-841] Explicitly start and end tables with Doxia Sinks in report renderers
---
 .../org/apache/maven/plugins/dependency/analyze/AnalyzeReportView.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportView.java b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportView.java
index 4bcc3d47..c36cb4e3 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportView.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportView.java
@@ -129,6 +129,7 @@ public class AnalyzeReportView {
      */
     public void generateDependenciesTable(Sink sink, Iterator<Artifact> iter) {
         sink.table();
+        sink.tableRows(null, false);
 
         sink.tableRow();
         sink.tableCell();
@@ -207,6 +208,7 @@ public class AnalyzeReportView {
             sink.tableRow_();
         }
 
+        sink.tableRows_();
         sink.table_();
         sink.horizontalRule();
     }