Maven Debug


Instead of running mvn, run mvnDebug instead. This will wait for you to attach your remote debugger. Once connected, maven will continue and you can debug maven itself or a plugin's execution.

$ mvnDebug clean install
Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000

Published: Friday, 6 March 2015