Configure the UMLGraph doclet to generate UML diagrams at the package and class level. This makes Graphviz a prerequisite for generating the javadoc.