Maven
  1. Maven
  2. MNG-3566

Phase prepare-package not available

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.9
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      The default lifecycle contains a phase prepare-package (according to http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html). This is not available for M209, the component.xml in maven-core misses this phase for the 2.0.x series.

        Issue Links

          Activity

          Hide
          Olivier Lamy added a comment -

          +1 on fixing it on the 2.0.x branch !

          Show
          Olivier Lamy added a comment - +1 on fixing it on the 2.0.x branch !
          Hide
          Wendy Smoak added a comment -

          Why isn't it named "pre-package" to match "pre-integration-test" and "pre-site" ?

          Show
          Wendy Smoak added a comment - Why isn't it named "pre-package" to match "pre-integration-test" and "pre-site" ?
          Hide
          Benjamin Bentmann added a comment -

          This is not available for M209

          Are you aware of the description for this phase, which says:

          perform any operations necessary to prepare a package before the actual packaging. This often results in an unpacked, processed version of the package. (Maven 2.1 and above)

          Show
          Benjamin Bentmann added a comment - This is not available for M209 Are you aware of the description for this phase, which says: perform any operations necessary to prepare a package before the actual packaging. This often results in an unpacked, processed version of the package. ( Maven 2.1 and above )
          Hide
          Jörg Schaible added a comment -

          Even following all pointers I found no reason why this phase could/should not be available in M2.0.x.

          Show
          Jörg Schaible added a comment - Even following all pointers I found no reason why this phase could/should not be available in M2.0.x.
          Hide
          Paul Benedict added a comment -

          +1 with Wendy's comment. Also, I find it "extreme" for Maven to add lifecycle phases within a point release. Are we sure that's what we want to do?

          Show
          Paul Benedict added a comment - +1 with Wendy's comment. Also, I find it "extreme" for Maven to add lifecycle phases within a point release. Are we sure that's what we want to do?
          Hide
          Jörg Schaible added a comment -

          Concerning "extreme" ... the complete dependency calculation has been changed in point releases. Regarding LC the "process-test-classes" phase has been added with 2.0.5, the phases "pre/post-intergation-test" have been added for 2.0.2. As long as a change does not affect backward compatibility I cannot see a problem with it.

          Show
          Jörg Schaible added a comment - Concerning "extreme" ... the complete dependency calculation has been changed in point releases. Regarding LC the "process-test-classes" phase has been added with 2.0.5, the phases "pre/post-intergation-test" have been added for 2.0.2. As long as a change does not affect backward compatibility I cannot see a problem with it.
          Hide
          John Casey added a comment -

          Pushing to 2.0.11 so we can have a smaller set of high-value issues to target for the next release (2.0.10).

          Show
          John Casey added a comment - Pushing to 2.0.11 so we can have a smaller set of high-value issues to target for the next release (2.0.10).
          Hide
          Brett Porter added a comment -

          with milestones of 2.1 already coming out, and this slated for 2.1.0-M2, we will settle for that.

          Show
          Brett Porter added a comment - with milestones of 2.1 already coming out, and this slated for 2.1.0-M2, we will settle for that.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jörg Schaible
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: