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/02 00:03:03 UTC

[jira] Created: (MNG-4922) ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..)

ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..)
----------------------------------------------------------------------------------------------

                 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: Issues to be reviewed for 3.x
            Reporter: Olivier Lamy


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

        

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: Issues to be reviewed for 3.x)
                   3.0.2

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

        

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MNG-4922.
-----------------------------

    Resolution: Fixed

fixed [rev 1042189|http://svn.apache.org/viewvc?view=revision&revision=1042189]

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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246413#action_246413 ] 

Benjamin Bentmann commented on MNG-4922:
----------------------------------------

Revised in [r1042200|http://svn.apache.org/viewvc?view=revision&revision=1042200] for consistency with MNG-4926.

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

        

[jira] Commented: (MNG-4922) ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..)

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246013#action_246013 ] 

Benjamin Bentmann commented on MNG-4922:
----------------------------------------

Good idea, go for it!

> ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..)
> ----------------------------------------------------------------------------------------------
>
>                 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
>             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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-4922:
-----------------------------------

    Affects Version/s:     (was: Issues to be reviewed for 3.x)
                       3.0.1
        Fix Version/s: Issues to be reviewed for 3.x

> ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..)
> ----------------------------------------------------------------------------------------------
>
>                 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
>             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