Is there a way to embed images into my JavaDoc? Basically i want to include some UML diagrams explaining the hierarchy of my classes in some of the documentation.
Thank
This article shows how to use UMLGraph with Maven Javadoc plugin.
In short:
Install GraphViz.
Ubuntu: apt-get install graphviz4
.
Windows: download.
Update pom.xml.
maven-javadoc-plugin
2.7
true
private
org.umlgraph.doclet.UmlGraphDoc
org.umlgraph
doclet
5.1
-inferrel -attributes -types -visibility -inferdep -quiet -hide java.* -collpackages java.util.* -qualify -postfixpackage
-nodefontsize 9
-nodefontpackagesize 7
Run mvn javadoc:javadoc
.