UMLDoclet
UMLDoclet: JavaDoc and UML Maven Plugin
POM:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet>
<docletArtifact>
<groupId>nl.talsmasoftware</groupId>
<artifactId>umldoclet</artifactId>
<version>2.0.9</version>
</docletArtifact>
</configuration>
</execution>
</executions>
</plugin>
Other Ref: https://plantuml.com/doclet
UMLDoclet
https://github.com/talsma-ict/umldoclet ★ star note
An open source doclet is now available on github..
It’s also available in Maven central for easy inclusion in any java projects.
Usage:
Declare the nl.talsmasoftware.umldoclet.UMLDoclet class to be used by javadoc (will by default also delegate to Standard doclet, so all-in-one).
All customizable options will become documented on the github page before the 1.0.0 release.
Source: commit 19f0795 in My-Notes.