RE: Executing a hook before reading a POM

2008-04-16 Thread Beelen, M. - SPLXL
PROTECTED] >> Sent: 15 April 2008 12:30 >> To: Maven Users List >> Subject: Re: Executing a hook before reading a POM >> >> Hi, >> >> use >> >> myValue >> >> if you want to set fixed properties for the build process. >>

RE: Executing a hook before reading a POM

2008-04-16 Thread Jörg Schaible
Hi Joshua, Joshua ChaitinPollak wrote: > In this setup, you still need to refer to the version of the parent > pom, right? Yes. > We are just starting to use multi-module pom, and are > realizing that > all of our modules are going to need to be updated with the parent- > pom's version every t

RE: Executing a hook before reading a POM

2008-04-15 Thread Bernhard David
It appears my attachment didn't work. So here's the script once again: #!/bin/bash -e #* %box% Go through all the pom.xml and set the version number (if present). E.g. =1.1.1-SNAPSHOT= -> =1.1.1= and correct the version of the parent. # * %box% Update the version of all modules to indicate t

RE: Executing a hook before reading a POM

2008-04-15 Thread Bernhard David
ll send it as attachment. David > -Original Message- > From: Joshua ChaitinPollak [mailto:[EMAIL PROTECTED] > Sent: 15 April 2008 19:22 > To: Maven Users List > Subject: Re: Executing a hook before reading a POM > > In this setup, you still need to refer to th

RE: Executing a hook before reading a POM

2008-04-15 Thread Libby, Cynthia
Engineer 5601 Headquarters Drive Plano, TX 75024-2262 214-387-2573 x72573 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 4:12 AM To: users@maven.apache.org Subject: Executing a hook before reading a POM Hi to all

Re: Executing a hook before reading a POM

2008-04-15 Thread Joshua ChaitinPollak
module-xxx ${version.module-xxx} in the actual module pom. Maybe that will help solve your problem. Regards, David -Original Message- From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] Sent: 15 April 2008 12:30 To: Maven Users List Subject: Re: Executing a hook before reading a POM Hi, use

RE: Executing a hook before reading a POM

2008-04-15 Thread Bernhard David
solve your problem. Regards, David > -Original Message- > From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] > Sent: 15 April 2008 12:30 > To: Maven Users List > Subject: Re: Executing a hook before reading a POM > > Hi, > > use > > myValue >

Re: Executing a hook before reading a POM

2008-04-15 Thread VUB Stefan Seidel
Hi, use myValue if you want to set fixed properties for the build process. You may also want to have a look at how to use profiles. regards, Stefan [EMAIL PROTECTED] wrote: Hi to all, I am trying to find out how I can get maven to execute a hook before it reads the POM file. But

Executing a hook before reading a POM

2008-04-15 Thread fernando.cabrera
Hi to all, I am trying to find out how I can get maven to execute a hook before it reads the POM file. But it seems that unless you go in and modify the maven source code, at a user level, there is nothing to be done. I am trying to execute the hook since maven doesn't replace variables within