Maven Debug

Debugging a maven build and plugins

Published: Friday, 6 March 2015


Instead of running mvn, run mvnDebug. This will wait for you to attach your remote debugger. Once connected, maven will continue, then 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