Maven
  1. Maven
  2. MNG-4922

ExecutionEvent give on the exception encountered (when having mojoFailed)

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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

          Hide
          Benjamin Bentmann added a comment -

          Good idea, go for it!

          Show
          Benjamin Bentmann added a comment - Good idea, go for it!
          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.
          Hide
          Olivier Lamy added a comment -
          Show
          Olivier Lamy added a comment - fixed rev 1042189
          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 .

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Olivier Lamy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: