Maven
  1. Maven
  2. MNG-4922

ExecutionEvent give on the exception encountered (when having mojoFailed)

    Details

      Description

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

      ExecutionEvent.getException().
      

      could be done with
      MojoExecution.getException()
      will need some stuff for projectFailed
      but at least could be interesting for mojo executions.
      WDYT ?

        Issue Links

          Activity

          Olivier Lamy (*$^¨%`£) created issue -
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Fix Version/s Issues to be reviewed for 3.x [ 13145 ]
          Affects Version/s 3.0.1 [ 16331 ]
          Affects Version/s Issues to be reviewed for 3.x [ 13145 ]
          Hide
          Benjamin Bentmann added a comment -

          Good idea, go for it!

          Show
          Benjamin Bentmann added a comment - Good idea, go for it!
          Olivier Lamy (*$^¨%`£) made changes -
          Assignee Olivier Lamy [ olamy ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

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

          Show
          Olivier Lamy (*$^¨%`£) added a comment - so reduce the scope as having the information for projectFailed will need some API change. Changing ExecutionEvent interface by adding a new method getException.
          Olivier Lamy (*$^¨%`£) made changes -
          Summary ExecutionEvent give on the exception encountered (when having mojoFailed projectFailed etc ..) ExecutionEvent give on the exception encountered (when having mojoFailed)
          Olivier Lamy (*$^¨%`£) made changes -
          Fix Version/s Issues to be reviewed for 3.x [ 13145 ]
          Fix Version/s 3.0.2 [ 16952 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4926 [ MNG-4926 ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -
          Show
          Olivier Lamy (*$^¨%`£) added a comment - fixed rev 1042189
          Olivier Lamy (*$^¨%`£) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Hide
          Benjamin Bentmann added a comment -

          Revised in r1042200 for consistency with MNG-4926.

          Show
          Benjamin Bentmann added a comment - Revised in r1042200 for consistency with MNG-4926 .
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12715181 ] Default workflow, editable Closed status [ 12754773 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12951507 ] Default workflow, editable Closed status [ 12987805 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          2d 15h 22m 1 Olivier Lamy (*$^¨%`£) 04/Dec/10 08:24

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Olivier Lamy (*$^¨%`£)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development