invoke postBuildHookScript even if build failed
-----------------------------------------------

                 Key: MINVOKER-25
                 URL: http://jira.codehaus.org/browse/MINVOKER-25
             Project: Maven 2.x Invoker Plugin
          Issue Type: Improvement
    Affects Versions: 1.2
            Reporter: Mykola Nikishov
            Priority: Critical
         Attachments: 0001-enable-negative-tests.patch

I develop a plugin which is ok to break a build. Current workflow using 
maven-invoker-plugin looks like:
- if my plug-in works as expected ;-) it breaks an IT build during 
integration-test phase
- the MojoFailureException is thrown
- the maven-invoker-plugin reports that build failed
- a script defined in postBuildHookScript is never used

As a result I have a false alarm - a broken build when everything is ok. I 
would like to have an opportunity to decide from a postBuildHookScript whether 
a build was successful or not.

I've implemented desired functionality and attached a patch against 
trunk/[EMAIL PROTECTED]


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

        

Reply via email to