Skip to content

Commit e746d9c

Browse files
committed
[MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong order
This closes #277
1 parent af234c6 commit e746d9c

File tree

1 file changed

+2
-2
lines changed
  • maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,11 @@ private void renderParameterDetails(Iterator<Parameter> parameters) {
296296
while (parameters.hasNext()) {
297297
Parameter parameter = parameters.next();
298298
// deprecated anchor for backwards-compatibility with XDoc (upper and lower case)
299-
// TODO: remove once migrated to Doxia 2.x
299+
// TODO: replace once migrated to Doxia 2.x with two-arg startSection(String, String) method
300300
sink.anchor(parameter.getName());
301+
sink.anchor_();
301302

302303
startSection(format("parameter.name", parameter.getName()));
303-
sink.anchor_();
304304
String context = "Parameter " + parameter.getName() + " in goal " + descriptor.getGoal();
305305
renderDeprecatedParameterDescription(parameter.getDeprecated(), context);
306306
sink.division();

0 commit comments

Comments
 (0)