Issue Details (XML | Word | Printable)

Key: MNG-3566
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Joerg Schaible
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

Phase prepare-package not available

Created: 05/May/08 09:03 AM   Updated: 17/Dec/08 07:20 PM   Resolved: 17/Dec/08 07:20 PM
Return to search
Component/s: Plugins and Lifecycle
Affects Version/s: 2.0.9
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Related
 

Complexity: Intermediate


 Description  « Hide

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.



Joerg Schaible made changes - 05/May/08 09:04 AM
Field Original Value New Value
Link This issue is related to MNG-2097 [ MNG-2097 ]
Olivier Lamy added a comment - 05/May/08 09:31 AM

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


Wendy Smoak added a comment - 05/May/08 09:38 AM

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


Benjamin Bentmann added a comment - 05/May/08 10:01 AM

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)


Joerg Schaible added a comment - 05/May/08 10:55 AM

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


Brett Porter made changes - 12/Jun/08 05:43 PM
Fix Version/s 2.0.10 [ 14112 ]
Paul Benedict added a comment - 28/Jun/08 10:38 PM

+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?


Joerg Schaible added a comment - 29/Jun/08 04:38 PM

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.


John Casey added a comment - 03/Jul/08 07:06 PM

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


John Casey made changes - 03/Jul/08 07:06 PM
Fix Version/s 2.0.10 [ 14112 ]
Fix Version/s 2.0.11 [ 14118 ]
Brett Porter added a comment - 17/Dec/08 07:20 PM

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


Brett Porter made changes - 17/Dec/08 07:20 PM
Resolution Duplicate [ 3 ]
Fix Version/s 2.0.11 [ 14118 ]
Status Open [ 1 ] Closed [ 6 ]