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 64ec552  [MPLUGIN-379] Report goal does not include threadSafe 
attribute in generated documentation
64ec552 is described below

commit 64ec552c1721ed4de7e044ea807b0f32cfaafbb5
Author: Piotrek Żygieło <[email protected]>
AuthorDate: Sat Nov 20 22:37:28 2021 +0100

    [MPLUGIN-379] Report goal does not include threadSafe attribute in 
generated documentation
    
    This closes #50
---
 .../maven/tools/plugin/generator/PluginXdocGenerator.java | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 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 1562b98..ac064f4 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
@@ -312,15 +312,14 @@ public class PluginXdocGenerator
                 w.writeMarkup( format( 
"pluginxdoc.mojodescriptor.dependencyCollectionRequired", value ) );
                 w.endElement(); //li
             }
+        }
 
-            if ( extendedMojoDescriptor.isThreadSafe() )
-            {
-                addedUl = addUl( w, addedUl );
-                w.startElement( "li" );
-                w.writeMarkup( getString( 
"pluginxdoc.mojodescriptor.threadSafe" ) );
-                w.endElement(); //li
-            }
-
+        if ( mojoDescriptor.isThreadSafe() )
+        {
+            addedUl = addUl( w, addedUl );
+            w.startElement( "li" );
+            w.writeMarkup( getString( "pluginxdoc.mojodescriptor.threadSafe" ) 
);
+            w.endElement(); //li
         }
 
         value = mojoDescriptor.getSince();

Reply via email to