Debugging with Maven and Eclipse
To use eclipse with Maven you need to add the maven plugin to eclipse, it seems to be part of the Indigo update site so this should be straightforward.
It’s also at http://download.eclipse.org/technology/m2e/releases
More instructions at http://maven.apache.org/guides/mini/guide-ide-eclipse.html
To run the debugger you need to do two things: you need to tell maven to run surefire, and run a remote java debug listening to that surefire