but if you configure surefire or failsafe, of any other plugin that
supports fork to fork, it will be a new jvm, so it can get confusing
to debug maven when it's running like that.
On Sat, 13 Oct 2018 at 12:41, Karl Heinz Marbaise <khmarba...@gmx.de> wrote:
>
> Hi,
>
> On 08/10/18 23:08, Simon Sheng wrote:
> > Hi,
> >
> > I am bringing this baby question since Maven load all it's classes by
> > ClassWorlds. Which means it doesn't have "main method". instead we debug
> > everything by log, do we have other way like debug with any IDE: Eclipse,
> > Intellij etc. put breakpoints and debug step by step ?
>
> Maven has a main method it looks like this:
>
>
>      public static void main( String[] args )
>      {
>          int result = main( args, null );
>
>          System.exit( result );
>      }
>
>
> and is located in package: org.apache.maven.cli.MavenCli in module
> maven-embedder.
>
> where you can set a breakpoint...
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to