Maven Plugin Tools
  1. Maven Plugin Tools
  2. MPLUGIN-222

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1
    • Fix Version/s: 3.2
    • Component/s: Metadata Model
    • Labels:
      None
    • Environment:
      Any.
    • Flags:
      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.

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

        Issue Links

          Activity

          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          patch applied.
          Thanks!

          Show
          Olivier Lamy (*$^¨%`£) added a comment - patch applied. Thanks!
          Hide
          Hervé Boutemy added a comment -
          Show
          Hervé Boutemy added a comment - r1367250

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Tinguaro Barreno
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development