Skip to content

Commit 295c644

Browse files
Fix ReportGenerator for new doxia stack
1 parent b921b44 commit 295c644

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

src/main/java/org/codehaus/mojo/taglist/ReportGenerator.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ private void doSummarySection(Collection<TagReport> tagReports) {
122122
sink.paragraph_();
123123

124124
sink.table();
125+
sink.tableRows(null, false);
126+
125127
sink.tableRow();
126128
sink.tableHeaderCell();
127129
sink.text(bundle.getString("report.taglist.summary.tag"));
@@ -133,9 +135,11 @@ private void doSummarySection(Collection<TagReport> tagReports) {
133135
sink.text(bundle.getString("report.taglist.summary.tagstrings"));
134136
sink.tableHeaderCell_();
135137
sink.tableRow_();
138+
136139
for (TagReport tagReport : tagReports) {
137140
doTagSummary(tagReport);
138141
}
142+
sink.tableRows_();
139143
sink.table_();
140144
}
141145

@@ -213,10 +217,13 @@ private void doTagDetailedPart(TagReport tagReport) {
213217
// MTAGLIST-38 - sink table before generating each file report in order
214218
// to align the columns correctly.
215219
sink.table();
220+
sink.tableRows(null, false);
216221

217222
for (FileReport sortedFileReport : sortedFileReports) {
218223
doFileDetailedPart(sortedFileReport);
219224
}
225+
226+
sink.tableRows_();
220227
sink.table_();
221228

222229
sink.section2_();

src/site/site.xml

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
3-
<skin>
4-
<groupId>org.apache.maven.skins</groupId>
5-
<artifactId>maven-fluido-skin</artifactId>
6-
<version>1.10.0</version>
7-
</skin>
8-
<custom>
9-
<fluidoSkin>
10-
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
11-
<copyrightClass>pull-right</copyrightClass>
12-
<gitHub>
13-
<projectId>mojohaus/taglist-maven-plugin</projectId>
14-
<ribbonOrientation>right</ribbonOrientation>
15-
<ribbonColor>black</ribbonColor>
16-
<profile>production</profile>
17-
</gitHub>
18-
</fluidoSkin>
19-
</custom>
2+
<project xmlns="http://maven.apache.org/DECORATION/1.8.1"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.1 https://maven.apache.org/xsd/decoration-1.8.1.xsd">
205
<body>
21-
<links>
22-
<item name="MojoHaus" href="https://www.mojohaus.org/"/>
23-
<item name="Maven" href="https://maven.apache.org/"/>
24-
</links>
6+
257
<breadcrumbs>
26-
<item name="MojoHaus" href="https://www.mojohaus.org/"/>
27-
<item name="${this.name}" href="${this.url}"/>
8+
<item name="MojoHaus" href="https://www.mojohaus.org/" />
9+
<item name="${this.name}" href="${this.url}" />
2810
</breadcrumbs>
11+
2912
<menu name="Overview">
30-
<item name="Introduction" href="./index.html"/>
31-
<item name="Goals" href="./plugin-info.html"/>
32-
<item name="Usage" href="./usage.html"/>
33-
<item name="FAQ" href="./faq.html"/>
13+
<item name="Introduction" href="./index.html" />
14+
<item name="Goals" href="./plugin-info.html" />
15+
<item name="Usage" href="./usage.html" />
16+
<item name="FAQ" href="./faq.html" />
3417
</menu>
18+
3519
<menu name="Examples">
36-
<item name="Counting Tags" href="./examples/counting-tags.html"/>
37-
<item name="Sample Taglist Report" href="./taglist.html"/>
20+
<item name="Counting Tags" href="./examples/counting-tags.html" />
21+
<item name="Sample Taglist Report" href="./taglist.html" />
3822
</menu>
39-
<menu ref="reports" inherit="bottom"/>
4023
</body>
4124
</project>

0 commit comments

Comments
 (0)