August 13, 2009

Start Maven in Debug Mode

« Maven XML Plugin - Validation | Main | Java Reflection Example - Dump Field Values  »
Following you see an easy way to start maven goals in debug mode:
mvn jetty:run -DargLine="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
Regards Rafael

Technorati Tags:

Posted by rafael.sobek at 5:14 PM in Maven

 

[Trackback URL for this entry]

Comment: peter at Di, 18 Aug 3:51 PM

even easier with
mvn -X ....

Your comment:

(not displayed)
 
 
 

Live Comment Preview:

 
« August »
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
23242526272829
3031