gnodet commented on code in PR #167:
URL: 
https://github.com/apache/maven-plugin-tools/pull/167#discussion_r1007937706


##########
maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/converter/JavaClassConverterContext.java:
##########
@@ -81,13 +80,6 @@ public JavaClassConverterContext( JavaClass mojoClass, 
JavaClass declaringClass,
                                       Map<String, MojoAnnotatedClass> 
mojoAnnotatedClasses,
                                       JavadocLinkGenerator linkGenerator, int 
lineNumber )
     {
-        if ( !( mojoClass.getJavaClassLibrary() instanceof SourceLibrary )

Review Comment:
   > Also how can meta information from the parent mojos be extracted which are 
not part of the binary (i.e. coming from javadoc like description, since or 
deprecated)? I think this requires evaluation of the parent's plugin 
descriptor....
   
   I guess they don't.  
   Instead of warning upfront, I think it would be better to display a warning 
at the time the information can not be retrieved.  That would avoid irrelevant 
warnings to be displayed.  For example if the parent class does not contain any 
parameter definition, a warning would be irrelevant noise.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to