From 0db6c1a14f8ead343c6c26e8e2f0f7abc8c7da04 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Tue, 9 May 2023 23:41:03 +0200 Subject: [PATCH] Simplify code --- .../maven/tools/plugin/generator/PluginXdocGenerator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java index 85bb7ff9..047355c7 100644 --- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java +++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java @@ -192,9 +192,7 @@ private void writeBody(MojoDescriptor mojoDescriptor, XMLWriter w) { w.writeMarkup(getString("pluginxdoc.mojodescriptor.fullname")); w.endElement(); // p w.startElement("p"); - w.writeMarkup(mojoDescriptor.getPluginDescriptor().getGroupId() + ":" - + mojoDescriptor.getPluginDescriptor().getArtifactId() + ":" - + mojoDescriptor.getPluginDescriptor().getVersion() + ":" + mojoDescriptor.getGoal()); + w.writeMarkup(mojoDescriptor.getPluginDescriptor().getId() + ":" + mojoDescriptor.getGoal()); w.endElement(); // p String context = "goal " + mojoDescriptor.getGoal();