First calls the java-annotations extractor to generate the initial list of MojoDescriptors, then compiles the scala sources using a ScalaDoc-enabled compiler to generate a model, which is then used by a decorating function to add description, @since, and @deprecated text to each MojoDescriptor
First calls the java-annotations extractor to generate the initial list of MojoDescriptors, then compiles the scala sources using a ScalaDoc-enabled compiler to generate a model, which is then used by a decorating function to add description, @since, and @deprecated text to each MojoDescriptor
the PluginToolsRequest
a java list of extracted MojoDescriptors
List the source roots specified by the MavenProject, if available
List the source roots specified by the MavenProject, if available
the optional MavenProject
a list of source roots
the java-annotations extractor
Create a new ScalaDoc compiler and decorate the list of descriptors
Create a new ScalaDoc compiler and decorate the list of descriptors
the PluginToolsRequest
the list of scala sources to compile
the list of descriptors extracted by the java-annotations MojoDescriptor
a list of decorated MojoDescriptors
MojoDescriptorExtractor implementation that delegates to the OOTB JavaAnnotationsExtractor (
<extractor>java-annotations</extractor>
) to extract all the details it can from the standard java annotations, which are retained in the .class files after compilation, and then decorates those extracted descriptors with the details that can only be found in the javadoc/scaladoc comments in the source files, namely:@deprecated
,@since
, and most importantly,description
0.6.0