>But to use your plugin code in maven you need to install it. What about just to add maven jars in Java Build's Path without installing maven?
-----Original Message----- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 4:45 PM To: Maven Users List Subject: Re: NewBee - How to run maven plugin source in debug mode??? yes if you want to debug your plugin in eclipse you must use MAVEN_OPTS. You can create an external application with some environnement settings. But to use your plugin code in maven you need to install it. Also, you can take a look at the mevenide plugin for eclipse to run maven. Arnaud On 2/21/06, John Menke <[EMAIL PROTECTED]> wrote: > > 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? > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
