Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-329

support for "description" in mojo annotations / extractors for plugin.xml

    XMLWordPrintableJSON

Details

    Description

      1) currently, plugin.xml descriptor is generated by extractors
      which look basically in 2 places:
      a) annotations
      b) javadoc

      in cases when plugin is written in "other java": scala, groovy, etc i.e. :
      https://github.com/random-maven/bintray-maven-plugin
      a) annotations work just fine
      b) but javadoc descriptions are lost
      https://random-maven.github.io/bintray-maven-plugin/deploy-mojo.html

      2) this request is to add extra field description to all mojo annotations
      https://github.com/apache/maven-plugin-tools/tree/master/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations

      so for example:

      /**

      • Enable to perform deployment.
        */
        @Parameter( property = "bintray.performDeploy", defaultValue = "true" )

      becomes:

      @Parameter(
      description = "Enable to perform deployment.",
      property = "bintray.performDeploy",
      defaultValue = "true"
      )

      it seems this feature requires minor effort, yet can result in major improvement

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              andrei.pozolotin Andrei Pozolotin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: