Javadoc custom Taglets
    Robert Scholte 
    rfscholte at apache.org
       
    Sun Apr 17 11:03:07 UTC 2016
    
    
  
Hi,
in preparation of the DevoxxFr talk about Maven and Java9 by Hervé Boutemy  
and Arnaud Héritier I noticed some issues with custom taglets when  
generation Javadoc reports.
For the developers of Maven plugins we have a set of Annotations or  
DocletTags[1] to generate the plugin descriptor.
The taglets are based on com.sun.tools.doclets.Taglet, but when trying to  
run this with Java 9-ea+113 I get the following exception.
Caused by: org.apache.maven.plugin.MojoExecutionException: An error has  
occurred in JavaDocs report generation:
Exit code: 1 - javadoc: error - Error - Exception  
java.lang.ClassCastException thrown while trying to register Taglet  
org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet...
What's the preferred way to write custom Taglets when using Java9 and will  
this also work with older versions of Java?
thanks,
Robert
[1]  
https://maven.apache.org/components/plugin-tools/maven-plugin-tools-javadoc/
    
    
More information about the jigsaw-dev
mailing list