Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread Anders Hammar
I believe bound plugins are executed in the order they are declared. I would
assume that the effective-pom shows this. However, I think I rememeber an
earlier discussion about that this could depend on the version of Maven
you're using.
In any case, having two plugins requiring a specific execution order bound
to the same phase is not best-practise.
Also, a bash script is os dependent and wouldn't work on Windows for
instance. I would try to move to something platform independent.

/Anders
On Wed, Mar 24, 2010 at 11:22, eyal edri  wrote:

> i know, but somehow (don't know exactly why), it runs after another plugin
> that runs in the deploy phase (which was my intention) , maybe because it's
> written after it the pom?
>
> /Eyal
>
> On Wed, Mar 24, 2010 at 12:10 PM, Anders Hammar  wrote:
>
> > You know this won't be run *after* the deploy phase (as asked), but in
> that
> > phase? The deploy phase is the last phase btw.
> >
> > /Anders
> >
> > On Wed, Mar 24, 2010 at 10:56, eyal edri  wrote:
> >
> > > found it! :)
> > >
> > > 
> > >maven-antrun-plugin
> > >
> > >  
> > >deploy
> > >
> > >  
> > > > >  dir="${basedir}"
> > >
>  executable="${basedir}/src/main/scripts/run-yum-make.sh"
> > >  failonerror="true">
> > >
> > >  
> > >
> > >
> > >  run
> > >
> > >  
> > >
> > >  
> > >
> > > On Wed, Mar 24, 2010 at 11:20 AM, eyal edri 
> wrote:
> > >
> > > > is there a maven plugin i can use in order to run a bash script/code
> > > after
> > > > the deploy phase is run?
> > > >
> > > > thanks!
> > > >
> > > > --
> > > > Eyal Edri
> > > >
> > >
> > >
> > >
> > > --
> > > Eyal Edri
> > >
> >
>
>
>
> --
> Eyal Edri
>


Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
i know, but somehow (don't know exactly why), it runs after another plugin
that runs in the deploy phase (which was my intention) , maybe because it's
written after it the pom?

/Eyal

On Wed, Mar 24, 2010 at 12:10 PM, Anders Hammar  wrote:

> You know this won't be run *after* the deploy phase (as asked), but in that
> phase? The deploy phase is the last phase btw.
>
> /Anders
>
> On Wed, Mar 24, 2010 at 10:56, eyal edri  wrote:
>
> > found it! :)
> >
> > 
> >maven-antrun-plugin
> >
> >  
> >deploy
> >
> >  
> > >  dir="${basedir}"
> >  executable="${basedir}/src/main/scripts/run-yum-make.sh"
> >  failonerror="true">
> >
> >  
> >
> >
> >  run
> >
> >  
> >
> >  
> >
> > On Wed, Mar 24, 2010 at 11:20 AM, eyal edri  wrote:
> >
> > > is there a maven plugin i can use in order to run a bash script/code
> > after
> > > the deploy phase is run?
> > >
> > > thanks!
> > >
> > > --
> > > Eyal Edri
> > >
> >
> >
> >
> > --
> > Eyal Edri
> >
>



-- 
Eyal Edri


Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread Anders Hammar
You know this won't be run *after* the deploy phase (as asked), but in that
phase? The deploy phase is the last phase btw.

/Anders

On Wed, Mar 24, 2010 at 10:56, eyal edri  wrote:

> found it! :)
>
> 
>maven-antrun-plugin
>
>  
>deploy
>
>  
>  dir="${basedir}"
>  executable="${basedir}/src/main/scripts/run-yum-make.sh"
>  failonerror="true">
>
>  
>
>
>  run
>
>  
>
>  
>
> On Wed, Mar 24, 2010 at 11:20 AM, eyal edri  wrote:
>
> > is there a maven plugin i can use in order to run a bash script/code
> after
> > the deploy phase is run?
> >
> > thanks!
> >
> > --
> > Eyal Edri
> >
>
>
>
> --
> Eyal Edri
>


Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
found it! :)


maven-antrun-plugin

  
deploy

  


  


  run

  

  

On Wed, Mar 24, 2010 at 11:20 AM, eyal edri  wrote:

> is there a maven plugin i can use in order to run a bash script/code after
> the deploy phase is run?
>
> thanks!
>
> --
> Eyal Edri
>



-- 
Eyal Edri


maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
is there a maven plugin i can use in order to run a bash script/code after
the deploy phase is run?

thanks!

-- 
Eyal Edri