[
http://jira.codehaus.org/browse/MJAVADOC-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150394#action_150394
]
Rodolfo Rothganger commented on MJAVADOC-214:
---------------------------------------------
I´ve got a similar problems regarding annotations not found by the plugin. In
my project there is a parent POM declaring FindBugs annotations as "compile"
scoped dependencies.
While tring to deploy an artifact with the above POM as parent produced the
following error:
"
a "java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be
cast to com.sun.javadoc.AnnotationTypeDoc
at
com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
at
com.sun.tools.doclets.internal.toolkit.util.Util.isDeprecated(Util.java:811)
"
To work around the problem I´ve declared the compile scoped annotations as
dependencies of the plugin itself.
> test javadoc goal uses incorrect dependency classpath
> -----------------------------------------------------
>
> Key: MJAVADOC-214
> URL: http://jira.codehaus.org/browse/MJAVADOC-214
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Brett Porter
>
> according to this report:
> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19158787.html
> The test javadoc goal is not using the test classpath dependencies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira