maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <dennisl.apa...@gmail.com>
Subject Re: How to run an ant script within war's pom file
Date Wed, 15 Feb 2012 23:26:11 GMT
Hi

Questions like these belong on the users mailing list.

Either you mail client or Nabble has stripped all the formating from
your xml snippet, making it unreadable. Please resend on the users
list.

On Mon, Feb 13, 2012 at 6:20 PM, johnjoseph <johnjosep1@gmail.com> wrote:
> Hi Everyone,
>
> My aim is to run a shell script during the compilation/package phase within
> the war project's pom file. I want to run the script only once. I am pretty
> new to maven and i was able to do something close to that with the below
> script. Now this code executes during both the compilation and package
> phase. how do i limit this to run only during one of the phases? Any help
> will be greatly appreciated.
>
>
>
>                                org.apache.maven.plugins
>                                maven-war-plugin
>
>
>                                org.apache.maven.plugins
>                                maven-compiler-plugin
>
>
>                                org.apache.maven.plugins
>                                maven-antrun-plugin
>
>
>                                                DojoBuild
>                                                generate-sources
>
>
>
>
>
>
>
>
>
>                                                        run
>
>
>
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/How-to-run-an-ant-script-within-war-s-pom-file-tp5479899p5479899.html
> Sent from the Maven Developers mailing list archive at Nabble.com.



-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message