Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
seem to recall plexus container implementor will need to configure plexus container at META-INF/plexus/plexus.xml https://codehaus-plexus.github.io/plexus-containers/plexus-container-default/

Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
From: Benson Margulies Sent: Friday, May 8, 2020 5:16 PM To: Maven Developers List Cc: volf...@google.com Subject: Running mojo unit test in the debugger I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE to de

Re: Running mojo unit test in the debugger

2020-05-08 Thread Olivier Lamy
perso I'm using -Dmaven.surefire.debug and attach a debugger I only trust Maven build (not IDE build :) ) On Sat, 9 May 2020 at 07:17, Benson Margulies wrote: > I am trying to recall how to debug a Junit test that uses > AbstractMojoTestCase. Simply asking an IDE to debug the test fails with > p

Running mojo unit test in the debugger

2020-05-08 Thread Benson Margulies
I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE to debug the test fails with plexus container errors. I cannot recall if these can be debugged as ordinary unit tests somehow, or whether we need to set remote debugging options to the surefire plug