maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: maven plugin to run a command line after 'deploy' phase
Date Wed, 24 Mar 2010 10:10:27 GMT
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
>

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