maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MINVOKER-25) invoke postBuildHookScript even if build failed
Date Fri, 02 May 2008 08:35:46 GMT

     [ http://jira.codehaus.org/browse/MINVOKER-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann updated MINVOKER-25:
--------------------------------------

    Affects Version/s:     (was: 1.2)
                       1.1

> 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.1
>            Reporter: Mykola Nikishov
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>             Fix For: 1.2
>
>         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/maven-invoker-plugin@632679.

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

        

Mime
View raw message