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 2024/04/12 07:29:56 UTC
(maven-plugin-tools) branch master updated: [MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong order
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-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new e746d9cc [MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong order
e746d9cc is described below
commit e746d9cc35cb03c03c61101d2b11f8247e6dcc82
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Fri Apr 12 09:05:38 2024 +0200
[MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong order
This closes #277
---
.../main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
index 62d38c15..71a62f10 100644
--- a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
+++ b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java
@@ -296,11 +296,11 @@ public class GoalRenderer extends AbstractPluginReportRenderer {
while (parameters.hasNext()) {
Parameter parameter = parameters.next();
// deprecated anchor for backwards-compatibility with XDoc (upper and lower case)
- // TODO: remove once migrated to Doxia 2.x
+ // TODO: replace once migrated to Doxia 2.x with two-arg startSection(String, String) method
sink.anchor(parameter.getName());
+ sink.anchor_();
startSection(format("parameter.name", parameter.getName()));
- sink.anchor_();
String context = "Parameter " + parameter.getName() + " in goal " + descriptor.getGoal();
renderDeprecatedParameterDescription(parameter.getDeprecated(), context);
sink.division();