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

Reply via email to