> 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 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
> What's the preferred way to write custom Taglets when using Java9 and
> will this also work with older versions of Java?