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 Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.0
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      0

      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...)

        Activity

        Hide
        Herve Boutemy added a comment -

        fixed in r1215517
        @attainAlways is still supported, but using it will give a warning message to update to @executionStrategy always

        Show
        Herve Boutemy added a comment - fixed in r1215517 @attainAlways is still supported, but using it will give a warning message to update to @executionStrategy always

          People

          • Assignee:
            Herve Boutemy
            Reporter:
            Herve Boutemy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: