Using maven properties in JavaDoc

前端 未结 2 1446
栀梦
栀梦 2021-02-08 11:42

Is it possible to expand the maven properties\' scope on javadocs using Maven Javadoc Plugin? E.g.

/**
 * My Awesome Class
 * @version ${project.version}
**/
         


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-08 11:55

    show
    String
    Specifies the access level for classes and members to show in the Javadocs. Possible values are: public (shows only public classes and members) protected (shows only public and protected classes and members) package (shows all classes and members not marked private) private (shows all classes and members)

    Default value is: protected. User property is: show.

    https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html

    Try putting show to public

提交回复
热议问题