Create a pom, place the plugins configuration in sequence. Bind Each
plugin's execution to the same phase.

ie you can bind 2 executions from diffrent plugins to the same phase. The
order of executions are the
order of plugins appear in the pom

-D


On 9/17/06, Manuel Ledesma <[EMAIL PROTECTED]> wrote:

Let me explain the scenario,

We have user's properties on DB (MySQL), existing environment using ant
1.6.5, we are using depends feature to trigger the load of user's
properties
before starting weblogic.

I have already the user-profile-plugin and weblogic-plugin, but I don't
know
how I can wire them. If they can be wired thru maven phases, I will
definitively give a shot.


-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 17, 2006 8:19 PM
To: Maven Developers List
Subject: Re: Calling plugins sequentially

not possible since you dont want to wire them into a maven phase

-D

On 9/17/06, Manuel Ledesma <[EMAIL PROTECTED]> wrote:
>
> I would like to be able to call just one and trigger the execution of
the
> other.
>
>
>
> -----Original Message-----
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 17, 2006 8:12 PM
> To: Maven Developers List
> Subject: Re: Calling plugins sequentially
>
> mvn plugin1:goal1 plugin2:goal2 ?
>
> -D
>
>
> On 9/17/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> >
> > Please don't cross-post. The users@ list was the correct place to
> > post it, so only posting it there is sufficient.
> >
> > - Brett
> >
> > On 18/09/2006, at 10:02 AM, Manuel Ledesma wrote:
> >
> > > First of all, I only have two days working with maven. I have read
> > > the book
> > > Better Buils with Maven completely and any possible documentation
> > > found in
> > > maven.apache.org.
> > >
> > >
> > >
> > > I would like to call two o more plugins sequentially, example
> > >
> > > - user-profile-plugin - loads user properties into maven runtime
> > > environment.
> > >
> > > - weblogic-plugin - start weblogic, needs some property set by
> > > previous
> > > plugin
> > >
> > >
> > >
> > > They are no part of any phase since they can be called outside of
> > > maven
> > > lifecycle.
> > >
> > >
> > >
> > > Example:
> > >
> > > mvn org.company.plugin:weblogic-plugin:startwl  - this will start
> > > weblogic
> > >
> > >
> > >
> > > I would like the plug-in user-profile-plugin be called before
running
> > > weblogic-plugin. Please, let me know is there a way of doing or
which
> > > approach should I follow in case that Maven does not support it.
> > >
> > >
> > >
> > >
> > >
> > > Thx in advance.
> > >
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to