You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nelz (JIRA)" <ji...@codehaus.org> on 2007/05/26 21:08:59 UTC

[jira] Commented: (MNG-2010) Add new lifecycle phases for IT

    [ http://jira.codehaus.org/browse/MNG-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97155 ] 

Nelz commented on MNG-2010:
---------------------------

I am attaching the patch(es) that I've made to address this.

Here's my description:
1) I added the five phases above.
2) I have also added a "pre-test" and "post-test" around the standard "test" target.  This is for two reasons: a) it's appeals to my sense of symmetry :-), and b) I have found a need for those phases in the past.
3) I added comments to a method that assumes the phase names across different lifecycles are unique.
4) I added some tests of the model objects that get created.
5) I added a couple of tests that enforce unique phase names.
6) I added the documentation of these build phases to the "The Build Lifecycle" mini-guide.

I was able to get the "site" documentation to build successfully.  Though I was able to get the "maven-lifecycle" to build successfully, I was not able to get all the "components" to build successfully.  So, I downloaded a fresh copy, and the failure happened in the same place.  ("BuildPlan" is missing in the "maven-core" component?)  I figured that if "maven-lifecycle" build correctly, and the "components" failed in the same place as a fresh pull-down, I have "done no harm", and am fairly confident that my changes will work as expected.

I did the changes against the main-line, though this JIRA seems to indicate I should have done it against 2.0.X...?  I think my changes should still fit in well...

After this, I will continue looking into the compile and surefire plugins...

> Add new lifecycle phases for IT
> -------------------------------
>
>                 Key: MNG-2010
>                 URL: http://jira.codehaus.org/browse/MNG-2010
>             Project: Maven 2
>          Issue Type: Task
>          Components: integration tests, Plugins and Lifecycle
>            Reporter: Vincent Massol
>             Fix For: 2.0.x
>
>         Attachments: MNG-2010-maven-lifecycle.patch, MNG-2010-site.patch
>
>
> Namely:
> * generate-integration-test-sources
> * process-integration-test-sources
> * generate-integration-test-resources
> * process-integration-test-resources
> * integration-test-compile
> and possibly a:
> * integration-test-package

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira