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

Default phase for helpmojo should agree with that for descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.3
    • None
    • Plugin Plugin
    • None

    Description

      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:

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

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

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            jwalton jwalton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: