UmlGraph

Concern of the Tool

UmlGraph adds the UML diagrams to the Javadoc report.

Using the Tool

It is quite easy to integrate this feature into the maven-javadoc-plugin (provided that you have added it to a MVN repository):

<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
  <docletArtifact>
    <groupId>org.umlgraph</groupId>
    <artifactId>UmlGraph</artifactId>
    <version>5.1</version>
  </docletArtifact>
  <additionalparam>
    -inferrel -inferdep -quiet -hide java.* -collpackages java.util.* 
    -qualify -postfixpackage -nodefontsize 9 -nodefontpackagesize 7
  </additionalparam>

One word of warning: If you use Taglets and UmlGraph please note that both use the tag @note. This results in a NullPointerException if UmlGraph interprets the content intended for Taglets.