Joseph Walton created MPLUGIN-277:
-------------------------------------

             Summary: Default phase for helpmojo should agree with that for 
descriptor
                 Key: MPLUGIN-277
                 URL: https://jira.codehaus.org/browse/MPLUGIN-277
             Project: Maven Plugin Tools
          Issue Type: Improvement
          Components: Plugin Plugin
    Affects Versions: 3.3
            Reporter: Joseph Walton


Since MPLUGIN-189, {{descriptor}} has a default phase of {{process-classes}}. 
Since MNG-5346, that's also the phase of the default execution in the default 
lifecycle binding. However, {{helpmojo}} still has a default phase of 
{{generate-sources}}, which needs to be overridden when using annotations.

That is, I need to specify:

{noformat}
                    <execution>
                        <id>help-goal</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>helpmojo</goal>
                        </goals>
                    </execution>
{noformat}

Changing the default phase would only save one of those lines, but it would 
make things more consistent between the two goals.




--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to