maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Gamache (JIRA)" <j...@codehaus.org>
Subject [jira] (MJAVADOC-409) Generating Javadoc no longer works with 2.10
Date Tue, 23 Sep 2014 14:12:10 GMT

    [ https://jira.codehaus.org/browse/MJAVADOC-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353077#comment-353077
] 

Chris Gamache commented on MJAVADOC-409:
----------------------------------------

I have the same issue. FWIW, the problem is the same using Maven 3.0.5 and Maven 3.2.2.

> Generating Javadoc no longer works with 2.10
> --------------------------------------------
>
>                 Key: MJAVADOC-409
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-409
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.10
>         Environment: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
14:51:28+0100)
> Maven home: /Applications/apache-maven/apache-maven-3.0.5
> Java version: 1.6.0_65, vendor: Apple Inc.
> Java home: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
>            Reporter: Wim Deblauwe
>
> If I run javadoc using 2.9, then javadoc is generated without issue:
> {{mvn org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc}}
> However, using version 2.10, the build fails:
> {{mvn org.apache.maven.plugins:maven-javadoc-plugin:2.10:javadoc}}
> There is a very big stack trace. One of the things that is shown is this:
> {noformat}
> [ERROR] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast
to com.sun.javadoc.AnnotationTypeDoc
> [ERROR] at com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
> [ERROR] at com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper.mapAnnotations(ClassUseMapper.java:439)
> [ERROR] at com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper.mapExecutable(ClassUseMapper.java:297)
> [ERROR] at com.sun.tools.doclets.internal.toolkit.util.ClassUseMapper.<init>(ClassUseMapper.java:196)
> [ERROR] at com.sun.tools.doclets.formats.html.ClassUseWriter.generate(ClassUseWriter.java:109)
> [ERROR] at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:92)
> [ERROR] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122)
> [ERROR] at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
> [ERROR] at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
> [ERROR] at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
> [ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
> [ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
> [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:128)
> [ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:41)
> [ERROR] at com.sun.tools.javadoc.Main.main(Main.java:31)
> [ERROR]
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/javadoc
@options @packages @argfile
> [ERROR]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message