Yes, I see this, but what I'm trying now is just to use maven's
framework in my application.
I'm still trying to understand if I can use in that way. For example I'm
going to have application and provide to QA department. This application
will include several components that it's required to be deployed and QA
engineer will just select component he want to deploy and my application
will invoke maven with component's pom.xml and will use for example
maven-cargo plugin for deployment.
I know I can call maven using maven-embedder. Isn't it?
Best regards,
Juri.
-----Original Message-----
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 5:09 PM
To: Maven Users List
Subject: Re: NewBee - How to run maven plugin source in debug mode???
If you take a look at the maven distribution you'll see that we are
using a lot of others libraries. Furthermore Maven is launched through
forehead to manage the classloaders.
Arnaud
On 2/21/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote:
>
> >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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]