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

@executionStrategy javadoc annotation is not recognized, but @attainAlways is (which is not documented)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      /**
       * @goal test
       * @executionStrategy always
       */

      generates

          <mojo>
            <goal>test</goal>
            <executionStrategy>once-per-session</executionStrategy>
          </mojo>
      

      but

      /**
       * @goal test
       * @attainAlways
       */

      does generate

          <mojo>
            <goal>test</goal>
            <executionStrategy>always</executionStrategy>
          </mojo>
      

      either both forms should be supported and documented, or only @executionStrategy since it is documented in http://maven.apache.org/developers/mojo-api-specification.html for a long time
      (notice: I suppose nobody tried to use it...)

        Attachments

          Activity

            People

            • Assignee:
              hboutemy Hervé Boutemy
              Reporter:
              hboutemy Hervé Boutemy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: