Brian,
Thanks again, using the -N worked.
Sameh
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 3:50 PM
To: Maven Users List
Subject: RE: How to run a script from a pom.xml file?
Are you running this from the command line? If so, then
Sent: Thursday, March 13, 2008 4:19 PM
To: Maven Users List
Subject: RE: How to run a script from a pom.xml file?
I specified the inherited element in different places in the plugin body
in the parent pom.xml, but no matter where I set it, it is still running
more than once! It is running for al
file?
Fyi, the inherited in the execution block does not work, but it does
work in the plugin block.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2008 7:55 PM
To: Maven Users List
Subject: Re: How to run a script from a pom.xml file?
On Wed
Fyi, the inherited in the execution block does not work, but it does
work in the plugin block.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2008 7:55 PM
To: Maven Users List
Subject: Re: How to run a script from a pom.xml file?
On Wed, Mar 12
On Wed, Mar 12, 2008 at 4:25 PM, Tawfik, Sameh E
<[EMAIL PROTECTED]> wrote:
> I tried the exe plugin and it did what I was looking for, but I noticed
> it repeated the execution few times and not just one time as needed!
...
> Is there is a way where I can restrict the execution of this exe to
exe to just
one time?
Thanks,
Sameh
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 10:00 PM
To: Maven Users List
Subject: Re: How to run a script from a pom.xml file?
Alternatively, if you're on Windows, you can add a file
Thanks Olivier.
Sameh
-Original Message-
From: Olivier Dehon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 6:03 PM
To: Maven Users List
Subject: Re: How to run a script from a pom.xml file?
Look for the exec plugin.
-Olivier
On Tue, 2008-03-11 at 19:45 -0500, Tawfik
Alternatively, if you're on Windows, you can add a file
mavenrc_pre.bat and mavenrc_post.bat to your user home directory and
Maven will run them before/after running the Maven build process.
But this runs for all builds (not just a specific project) and
requires that you distribute these batch/she
Look for the exec plugin.
-Olivier
On Tue, 2008-03-11 at 19:45 -0500, Tawfik, Sameh E wrote:
> How to run a perl or batch file at the beginning of the build?
>
> Is there is a command or a plugin I can use to run an external process
> then come back to the build when this process is complete?
>
How to run a perl or batch file at the beginning of the build?
Is there is a command or a plugin I can use to run an external process
then come back to the build when this process is complete?
I'm using:
Maven version: 2.0.7
Java version: 1.6.0_02-ea
OS name: "windows xp" version: "5.1" arch:
10 matches
Mail list logo