Montag, 28. März 2011

Debugging Tests runned by maven

For debugging tests which are executed by maven you can use the following option:
mvn -Dmaven.surefire.debug test

Then maven will starts and is waiting for a remote debug connection on port 5005.

This works at least with Maven2 and Maven3. I have not test it with maven1.

Keine Kommentare:

Kommentar veröffentlichen