Herve Boutemy created MPLUGIN-190:
-------------------------------------

             Summary: @executionStrategy javadoc annotation is not recognized, 
but @attainAlways is (which is not documented)
                 Key: MPLUGIN-190
                 URL: https://jira.codehaus.org/browse/MPLUGIN-190
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: Java Plugins
            Reporter: Herve Boutemy


{code:java}/**
 * @goal test
 * @executionStrategy always
 */{code}
generates
{code:xml}
    <mojo>
      <goal>test</goal>
      <executionStrategy>once-per-session</executionStrategy>
    </mojo>
{code}

but {code:java}/**
 * @goal test
 * @attainAlways
 */{code}

does generate
{code:xml}
    <mojo>
      <goal>test</goal>
      <executionStrategy>always</executionStrategy>
    </mojo>
{code}


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



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to