You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/02/28 14:20:48 UTC
svn commit: r748849 -
/maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt
Author: vsiveton
Date: Sat Feb 28 13:20:47 2009
New Revision: 748849
URL: http://svn.apache.org/viewvc?rev=748849&view=rev
Log:
MJAVADOC-222: Documentation Issues
o improved doc
Modified:
maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt
Modified: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt?rev=748849&r1=748848&r2=748849&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/alternate-doclet.apt Sat Feb 28 13:20:47 2009
@@ -4,7 +4,7 @@
Vincent Siveton
Maria Odea Ching
------
- 2008-07-31
+ 2009-02-28
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -33,7 +33,7 @@
In this example, the doclet is UmlGraph. UmlGraph allows the declarative specification and drawing
of UML class and sequence diagrams.
- For more information about UmlGraph, please refer to {{http://www.spinellis.gr/sw/umlgraph/}}.
+ For more information about UmlGraph, please refer to {{http://www.umlgraph.org/}}.
+-----+
<project>
@@ -44,15 +44,16 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
+ <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
<!-- <docletPath>/path/to/UmlGraph.jar</docletPath> -->
<docletArtifact>
- <groupId>gr.spinellis</groupId>
- <artifactId>UmlGraph</artifactId>
- <version>4.4</version>
+ <groupId>org.umlgraph</groupId>
+ <artifactId>doclet</artifactId>
+ <version>5.1</version>
</docletArtifact>
<additionalparam>-views</additionalparam>
+ <useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
</plugin>
...
@@ -67,8 +68,13 @@
* \<additionalparam/\> is used to set additional parameters on the command line, specifically
for doclet options.
+ * \<useStandardDocletOptions/\> uses the
+ {{{http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#standard}options provided by the Standard Doclet}}.
+
* If you need more artifacts in the docletpath, you could use \<docletArtifacts/\>.
+ []
+
After executing <<<mvn site>>>, you will see that a UML graph (.dot file) will be generated in the
destination directory.