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

          Tinguaro Barreno created issue -
          Olivier Lamy (*$^¨%`£) made changes -
          Field Original Value New Value
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 3.1.1 [ 18639 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Hervé Boutemy made changes -
          Link This issue relates to MPLUGIN-248 [ MPLUGIN-248 ]
          Hervé Boutemy made changes -
          Link This issue relates to MPLUGIN-250 [ MPLUGIN-250 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:08:28 UTC 2015 [ 1428235708524 ]
          Mark Thomas made changes -
          Workflow jira [ 12723207 ] Default workflow, editable Closed status [ 12756220 ]
          Mark Thomas made changes -
          Patch Submitted Yes [ 10763 ]
          Flags Patch [ 10430 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:41:51 UTC 2015 [ 1428280911727 ]
          Mark Thomas made changes -
          Workflow jira [ 12960727 ] Default workflow, editable Closed status [ 12997294 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development