http://maven.apache.org/plugins/maven-javadoc-plugin/faq.html#How_to_know_exactly_the_Javadoc_command_line
2008/10/9 Matthias Dorfner <[EMAIL PROTECTED]>: > Hi Brett, > > thx for your answer. Which debug flag do you mean, the -e switch provided by > maven? How can I integrate the parameters to my pom (via <additionalparams> > ?) Sorry, I'm very new to maven and javadoc :-/ > > Thank you, > Matthias > > -----Ursprüngliche Nachricht----- > Von: Brett Porter [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 9. Oktober 2008 02:22 > An: Maven Users List; [EMAIL PROTECTED] > Betreff: Re: umlgraph & doccheck > > Try running with the javadoc debug flag and -X to see the command > actually constructed and ensure the artifact is provided correctly. I > noticed in a previous version that it hid the fact it was ignoring > some doclet artifacts. > > You might also be able to upgrade to the latest release by explicitly > providing the version of the javadoc version which should report this > better now. > > - Brett > > 2008/10/9 Matthias Dorfner <[EMAIL PROTECTED]>: >> Hi everybody, >> >> >> >> I try to integrate umlgraph and doccheck in my reporting site. I therefore >> installed the doccheck 1.2b2 version via install-file successfully to my >> local repository: >> C:\Dok~\Matty\.m2\repository\com\sun\tools\doclets\doccheck\1.2b2 >> >> >> >> My reporting section of the POM looks like this: >> >> >> >> <plugins>… >> >> <plugin> >> >> <groupId>org.apache.maven.plugins</groupId> >> >> <artifactId>maven-javadoc-plugin</artifactId> >> >> <configuration> >> >> <!--<show>private</show>--> >> >> <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet> >> >> <docletArtifact> >> >> <groupId>gr.spinellis</groupId> >> >> <artifactId>UmlGraph</artifactId> >> >> <version>4.6</version> >> >> </docletArtifact> >> >> <additionalparam> >> >> -inferrel >> >> -inferdep >> >> -collpackages java.util.* >> >> </additionalparam> <!---hide java.*--> >> >> </configuration> >> >> <reportSets> >> >> <reportSet> >> >> <id>html</id> >> >> <reports> >> >> <report>javadoc</report> >> >> </reports> >> >> </reportSet> >> >> <reportSet> >> >> <id>doccheck</id> >> >> <configuration> >> >> <doclet>com.sun.tools.doclet.DocCheck</doclet> >> >> >> >> <!-- <docletPath>/path/to/doccheck.jar</docletPath> --> >> >> <docletArtifact> >> >> <groupId>com.sun.tools.doclets</groupId> >> >> <artifactId>doccheck</artifactId> >> >> <version>1.2b2</version> >> >> </docletArtifact> >> >> <additionalparam> >> >> -d ${project.build.directory}/site/doccheck >> >> </additionalparam> >> >> >> >> <!-- Other dir than apidocs --> >> >> <destDir>doccheck</destDir> >> >> >> >> <!-- For the project-reports page--> >> >> <name>DocCheck</name> >> >> <description>DocCheck documentation.</description> >> >> </configuration> >> >> <reports> >> >> <report>javadoc</report> >> >> </reports> >> >> </reportSet> >> >> </reportSets> >> >> >> >> </plugin> >> >> … >> >> >> >> The error is following: [ERROR] BUILD ERROR >> >> [INFO] >> >> ------------------------------------------------------------------------ >> >> [INFO] Error during page generation >> >> >> >> Embedded error: Error rendering Maven report: Exit code: 1 - javadoc: >> >> error - Cannot find doclet class com.sun.tools.doclet.DocCheck >> >> >> >> >> >> >> >> What am I'm doing wrong? >> >> Maybe someone can explain me the meaning of the <reportSet> Tag and how I >> can integrate these settings in my project page? >> >> >> >> Thank you in advance! >> >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> >> >> > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > --------------------------------------------------------------------- > 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]
