You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2010/12/04 14:29:04 UTC

[jira] Updated: (MNG-4922) ExecutionEvent give on the exception encountered (when having mojoFailed)

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

Olivier Lamy updated MNG-4922:
------------------------------

    Summary: ExecutionEvent give on the exception encountered (when having mojoFailed)  (was: ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..))

so reduce the scope as having the information for projectFailed will need some API change.
Changing ExecutionEvent interface by adding a new method getException.

> ExecutionEvent give on the exception encountered (when having mojoFailed)
> -------------------------------------------------------------------------
>
>                 Key: MNG-4922
>                 URL: http://jira.codehaus.org/browse/MNG-4922
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Errors, Logging, Plugins and Lifecycle
>    Affects Versions: 3.0.1
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: Issues to be reviewed for 3.x
>
>
> It could be usefull for having the exception details in ExecutionListener impls to have something like (to not wait the end of the maven execution) :
> {code}
> ExecutionEvent.getException().
> {code}
> could be done with 
> MojoExecution.getException()
> will need some stuff for projectFailed
> but at least could be interesting for mojo executions.
> WDYT ?

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