Skip to content

Commit 0db6c1a

Browse files
committed
Simplify code
1 parent 63a14f7 commit 0db6c1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ private void writeBody(MojoDescriptor mojoDescriptor, XMLWriter w) {
192192
w.writeMarkup(getString("pluginxdoc.mojodescriptor.fullname"));
193193
w.endElement(); // p
194194
w.startElement("p");
195-
w.writeMarkup(mojoDescriptor.getPluginDescriptor().getGroupId() + ":"
196-
+ mojoDescriptor.getPluginDescriptor().getArtifactId() + ":"
197-
+ mojoDescriptor.getPluginDescriptor().getVersion() + ":" + mojoDescriptor.getGoal());
195+
w.writeMarkup(mojoDescriptor.getPluginDescriptor().getId() + ":" + mojoDescriptor.getGoal());
198196
w.endElement(); // p
199197

200198
String context = "goal " + mojoDescriptor.getGoal();

0 commit comments

Comments
 (0)