Javadoc custom Taglets
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon Apr 18 15:02:48 UTC 2016
FYI
On 04/17/2016 04:03 AM, Robert Scholte wrote:
> 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 javadoc-dev
mailing list