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

PluginDescriptorGenerator doesn't write deprecated tag for a mojo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4.2
    • 2.4.3
    • API
    • None

    Description

      Suppose the following mojo:

      /**
       * @goal blabla
       * @deprecated blabla
       */
      public class MyMojo
          extends AbstractMojo
      {
      }
      

      The generated plugin.xml doesn't include deprecated tag like the API supports:
      http://maven.apache.org/ref/2.0.9/maven-plugin-descriptor/apidocs/org/apache/maven/plugin/descriptor/MojoDescriptor.html#getDeprecated()

      BTW deprecated parameters are written.

      Attachments

        Activity

          People

            siveton Siveton Vincent
            siveton Siveton Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: