Debugging maven 2 with Netbeans

2007-10-04 Thread Paul Sterk
Hi, I want to run 'mvn test' and have maven open a jdwp listener so that I can debug a plugin unit test. I thought I found the answer: export MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=9009,server=y,suspend=y I then ran 'mvn test' and connected to port 9009 with Netbeans 5.5.1.

Debugging AntMojoTest in netbeans

2007-09-21 Thread Paul Sterk
Hi, I have netbeans 5.5.1 and maven 2.0.7. I also have mevenide 2.3. I am new to maven and would like to setup a break point in the AntMojoTest and debug the code using netbeans. I have tried to do this using java -Xdebug -Xrunjdwp:transport=dt_socket,address=9009,server=y,suspend=y