I created http://jira.codehaus.org/browse/MJAVADOC-214

2008/8/26 WolfgangRoessler <[EMAIL PROTECTED]>:
>
> No, otherwise I wouldn't have asked here *g*.
> Could you create one?
>
> Greets
> Wolfgang
>
>
> Brett Porter wrote:
>>
>> Thanks - have you an identified an existing JIRA issue for this?
>>
>> - Brett
>>
>> 2008/8/26 WolfgangRoessler <[EMAIL PROTECTED]>:
>>>
>>> Hi Brett,
>>>
>>> that works. If I set the scope to compile (or the default), the
>>> javadoc-generation works. Another solution is to configure a report
>>> without
>>> test-classes:
>>> <reportSets>
>>>    <reportSet>
>>>        <reports>
>>>            <report>javadoc</report>
>>>        </reports>
>>>    </reportSet>
>>> </reportSets>
>>>
>>> Thanks and greets
>>> Wolfgang
>>>
>>>
>>> Brett Porter wrote:
>>>>
>>>> That looks like a bug in the javadoc plugin that it isn't using test
>>>> scoped dependencies for the test javadoc (if you change the scope of
>>>> testng to "compile" or "runtime", does it work even though it is not
>>>> correct?)
>>>>
>>>> I'm not sure about the doclet exception - looks like a javadoc error -
>>>> does running javadoc standalone work?
>>>>
>>>> - Brett
>>>>
>>>> 2008/8/26 WolfgangRoessler <[EMAIL PROTECTED]>:
>>>>>
>>>>> Unfortunately this doesn't work, too.
>>>>>
>>>>> Here are some snippets of my pom:
>>>>>  <dependencies>
>>>>>        <dependency>
>>>>>                <groupId>org.testng</groupId>
>>>>>                <artifactId>testng</artifactId>
>>>>>                <version>5.8</version>
>>>>>                <classifier>jdk15</classifier>
>>>>>                <scope>test</scope>
>>>>>        </dependency>
>>>>>  </dependencies>
>>>>>  <reporting>
>>>>>        <plugins>
>>>>>            <plugin>
>>>>>                <groupId>org.apache.maven.plugins</groupId>
>>>>>                <artifactId>maven-javadoc-plugin</artifactId>
>>>>>                <configuration>
>>>>>                        <source>1.6</source>
>>>>>                        <aggregate>true</aggregate>
>>>>>                </configuration>
>>>>>            </plugin>
>>>>>        </plugins>
>>>>>  <reporting>
>>>>>
>>>>> And here part of the error messages (debug-mode):
>>>>> While building project:
>>>>> Group-Id: prototype.codequality
>>>>> Artifact-Id: top
>>>>> Version: 0.0.1-SNAPSHOT
>>>>> From file: S:\src\Exploratory
>>>>> Prototypes\CodeQualityTools\src\top\pom.xml
>>>>> Reason: Error during page generation
>>>>>
>>>>> org.apache.maven.doxia.siterenderer.RendererException: Error rendering
>>>>> Maven
>>>>> report: Exit code: 1 - S:\src\Exploratory
>>>>> Prototypes\CodeQualityTools\src\top\top-module1\src\test\java\codequality\top\module1\TestClassInModule1.java:3:
>>>>> package org.testng does not exist
>>>>> import org.testng.Assert;
>>>>>                 ^
>>>>> S:\src\Exploratory
>>>>> Prototypes\CodeQualityTools\src\top\top-module1\src\test\java\codequality\top\module1\TestClassInModule1.java:4:
>>>>> package org.testng.annotations does not exist
>>>>> import org.testng.annotations.Test;
>>>>>                             ^
>>>>> ...
>>>>> 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)
>>>>> ...
>>>>>
>>>>> Greets
>>>>> Wolfgang
>>>>>
>>>>>
>>>>> Brett Porter wrote:
>>>>>>
>>>>>> I think you need to set <source> instead. If that doesn't work, please
>>>>>> describe what the "crash" looks like.
>>>>>>
>>>>>> Cheers,
>>>>>> Brett
>>>>>>
>>>>>> 2008/8/25 WolfgangRoessler <[EMAIL PROTECTED]>:
>>>>>>>
>>>>>>> I set the javadocVersion, but the plugin still crashes.
>>>>>>>
>>>>>>> - Wolfgang
>>>>>>>
>>>>>>>
>>>>>>> Brett Porter wrote:
>>>>>>>>
>>>>>>>> Do you need to configure it to use Java's 1.5 source level?
>>>>>>>>
>>>>>>>> - Brett
>>>>>>>>
>>>>>>>> 2008/8/25 WolfgangRoessler <[EMAIL PROTECTED]>:
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I have configured the maven-javadoc-plugin in the reporting
>>>>>>>>> section.
>>>>>>>>> Unfortunately when generating the report, the plugin crashes. The
>>>>>>>>> exceptions
>>>>>>>>> look like it has problems with the @Test annotation of TestNG. Any
>>>>>>>>> ideas
>>>>>>>>> or
>>>>>>>>> solutions what happens?
>>>>>>>>>
>>>>>>>>> Greets
>>>>>>>>> Wolfgang Roessler
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19139379.html
>>>>>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Brett Porter
>>>>>>>> Blog: http://blogs.exist.com/bporter/
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19140451.html
>>>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Brett Porter
>>>>>> Blog: http://blogs.exist.com/bporter/
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19151139.html
>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Brett Porter
>>>> Blog: http://blogs.exist.com/bporter/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19157018.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>> --
>> Brett Porter
>> Blog: http://blogs.exist.com/bporter/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/JavaDoc-Report-crashes-with-TestNG-tp19139379p19158787.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to