i'm not just trying to see debug information...i'm trying to actually run the code in debug mode from within an IDE.
specific questions: 1. how can i get Maven to use the plugin source code i am working on in my IDE and not what is in the REPO? - i'm guessing i set source path in my Eclipse IDE to point to the code I am writing 2. How do you start Maven in eclipse? I have found this on the web but it doesn't really allow full integration... I would like to start Maven in Eclipse. Before you run maven on the commandline, set MAVEN_OPTS to: "-Xdebug -Xnoagent -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005". This will enable debugging support in Maven Then set a breakpoint in your plugin code in the Eclipse IDE, and start the debugger for an external application, configuring it with the correct port (in this case 5005. If i figure this out i will post a follow up to the list -jm On 2/21/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > In maven 1 you can use the flag -X but it will be very verbose > With the last maven 1.1 in the trunk you can use log4j properties to put > some loggers in debug > > Arnaud > > > On 2/21/06, John Menke <[EMAIL PROTECTED]> wrote: > > > > Is there a standard way of running tests against a maven plugin? I am > > trying to customize the behavior of the changes plugin and want to run > > debug > > the code i have changed in Eclipse? Is anyone doing this kind of thing > in > > an IDE? can you give me any setup tips? > > > > > >
