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

'Since' information is not shown on generated site (ANT Mojos)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1
    • 3.2
    • Metadata Model
    • None
    • Any.
    • Patch

    Description

      Hi,

      The plugin site for an ANT Mojo doesn't shows the 'since' information for goals and parameters.

      The problem seems to be in the 'PluginMetadataParser.java'; this class gets the Mojo data object and convert it to a MojoDescriptor. Just two lines are enough to pass the 'since' data to the descriptor (and then, include it on the site).

      I attach the patch and two tests cases for Maven 2.2.1 and Maven 3.0. I've test the patch with maven-plugin-plugin v2.5.1, v2.9 and 3.1.

      Best wishes.

      Attachments

        1. fix-since-samples-v2.zip
          8 kB
          Tinguaro Barreno
        2. fix-since-samples-v3.zip
          8 kB
          Tinguaro Barreno
        3. maven-plugin-tools.patch
          1 kB
          Tinguaro Barreno

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              tbarreno Tinguaro Barreno
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: