RE: [m2] how to debug a plugin

2006-10-27 Thread Scott Ryan
Look in the mvn.bat or mvn.sh file and there are details on how to debug maven plugins @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven @REM e.g. to debug Maven itself, use @REM set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_soc

RE: [m2] how to debug a plugin

2006-10-27 Thread Mark Struberg
Hi Fred! If you are using eclipse, you will need to start maven via the eclipse 'debug as Java Application'. There are a few things to consider (example is based on my linux installation in /opt/apache/maven): 1.) You have to add the maven boot jars to the classpath (all jars from