yookue / javadoc-docent-maven-plugin

Javadoc docent for maven plugin

Home Page:https://mvnrepository.com/artifact/com.yookue.mavenplugin/javadoc-docent-maven-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javadoc Docent Maven Plugin

javadoc-docent-maven-plugin is a maven plugin, to support generating alternative javadoc annotations, with multilingual capability.

Quickstart

  • Configure maven pom.xml under plugin maven-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"

Document

Requirement

  • jdk 17+

License

This project is under the Apache License 2.0

See the NOTICE.txt file for required notices and attributions.

Donation

You like this package? Then donate to Yookue to support the development.

Website

About

Javadoc docent for maven plugin

https://mvnrepository.com/artifact/com.yookue.mavenplugin/javadoc-docent-maven-plugin

License:Apache License 2.0


Languages

Language:Java 100.0%