javadoc-docent-maven-plugin is a maven plugin, to support generating alternative javadoc annotations, with multilingual capability.
- Configure maven
pom.xml
under pluginmaven-javadoc-plugin
<project>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>LATEST</version>
<configuration>
<taglets>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.AttentionTaglet</tagletClass>
</taglet>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.DtddTaglet</tagletClass>
</taglet>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.ReferenceTaglet</tagletClass>
</taglet>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.TodoTaglet</tagletClass>
</taglet>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.UrlTaglet</tagletClass>
</taglet>
<taglet>
<tagletClass>com.yookue.mavenplugin.javadocdocent.taglet.WarningTaglet</tagletClass>
</taglet>
</taglets>
<tagletArtifact>
<groupId>com.yookue.mavenplugin</groupId>
<artifactId>javadoc-docent-maven-plugin</artifactId>
<version>LATEST</version>
</tagletArtifact>
</configuration>
</plugin>
</plugins>
</build>
</project>
You may just include the necessary
taglet
as you wish.
- Supported javadoc annotations are:
Annotation | Taglet Type | Usage |
---|---|---|
@attention | block | @attention "content" |
@dtdd | inline | {@dtdd "title" "content"} |
@reference | block | @reference "href" ["content"] |
@todo | block | @todo "content" |
@url | inline | {@url "href" ["content"]} |
@warning | block | @warning "content" |
- jdk 17+
This project is under the Apache License 2.0
See the NOTICE.txt
file for required notices and attributions.
You like this package? Then donate to Yookue to support the development.
- Yookue: https://yookue.com