maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eyal edri <eyal.e...@gmail.com>
Subject Re: maven plugin to run a command line after 'deploy' phase
Date Wed, 24 Mar 2010 10:22:04 GMT
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 <anders@hammar.net> 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 <eyal.edri@gmail.com> wrote:
>
> > found it! :)
> >
> > <plugin>
> >        <artifactId>maven-antrun-plugin</artifactId>
> >        <executions>
> >          <execution>
> >            <phase>deploy</phase>
> >            <configuration>
> >              <tasks>
> >                <exec
> >                  dir="${basedir}"
> >                  executable="${basedir}/src/main/scripts/run-yum-make.sh"
> >                  failonerror="true">
> >                </exec>
> >              </tasks>
> >            </configuration>
> >            <goals>
> >              <goal>run</goal>
> >            </goals>
> >          </execution>
> >        </executions>
> >      </plugin>
> >
> > On Wed, Mar 24, 2010 at 11:20 AM, eyal edri <eyal.edri@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message