Skip to content

Commit 9bb13f0

Browse files
committed
[MPLUGIN-492] Documentation for plugins in general: Goals comprises more than that
This closes #252
1 parent fc41218 commit 9bb13f0

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ protected void renderBody() {
9595
}
9696
}
9797

98+
paragraph(getI18nString("description"));
99+
98100
renderGoalsSection(hasMavenReport);
99101

100102
renderSystemRequirementsSection();
@@ -107,6 +109,8 @@ protected void renderBody() {
107109
}
108110

109111
private void renderGoalsSection(boolean hasMavenReport) {
112+
startSection(getI18nString("goals"));
113+
110114
paragraph(getI18nString("goals.intro"));
111115

112116
startTable();
@@ -157,6 +161,8 @@ private void renderGoalsSection(boolean hasMavenReport) {
157161
}
158162

159163
endTable();
164+
165+
endSection();
160166
}
161167

162168
private void renderSystemRequirementsSection() {

maven-plugin-report-plugin/src/main/resources/plugin-report.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
#
1919

2020
report.plugin.name=Plugin Documentation
21-
report.plugin.description=This report provides goals and parameters documentation of a plugin.
21+
report.plugin.description=This report describes goals, parameters details, requirements and sample usage of this plugin.
2222
report.plugin.title=Plugin Documentation
2323

24+
report.plugin.goals=Goals
2425
report.plugin.goals.nogoal=No goals defined in this plugin.
2526
report.plugin.goals.intro=Goals available for this plugin:
2627
report.plugin.goals.column.goal=Goal

maven-plugin-report-plugin/src/main/resources/plugin-report_de.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919

2020
report.plugin.name=Plugin-Dokumentation
21-
report.plugin.description=Dieser Bericht dokumentiert die Goals des Plugins und deren Parameter.
21+
report.plugin.description=Dieser Bericht dokumentiert die Goals, Parameterdetails, Anforderungen und Verwendungsbeispiele dieses Plugins.
2222
report.plugin.title=Plugin-Dokumentation
2323

2424
report.plugin.goals.nogoal=Keine Goals verf\u00FCgbar.

maven-plugin-report-plugin/src/main/resources/plugin-report_fr.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#
1919

2020
report.plugin.name=Documentation du plugin
21-
report.plugin.description=Ce rapport fournit de la documentation sur les goals et les param\u00EAtres d'un plugin.
2221
report.plugin.title=Documentation du plugin
2322

2423
report.plugin.goals.nogoal=Aucun goal disponible.

maven-plugin-report-plugin/src/main/resources/plugin-report_sv.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#
1919

2020
report.plugin.name=Plugindokumentation
21-
report.plugin.description=Denna rapport tillhandah\u00E5ller m\u00E5l- och parameterdokumentation f\u00F6r en plugin.
2221
report.plugin.title=Plugindokumentation
2322

2423
report.plugin.goals.nogoal=Inga m\u00E5l tillg\u00E4ngliga \u00E4nnu.

0 commit comments

Comments
 (0)