Re: load a property file before the pom's parsing

2005-06-16 Thread fabrice jean
Hi dan,

We have +10 projects and some of them are allready
using inheritance for ohter purposes, i was wondering
if there was a 

maven.properties.load=c:/shared/versions.properties

it would be simple and would avoid inheritance
 

--- dan tran <[EMAIL PROTECTED]> a écrit :

> put it in project.properties in the root of your
> project tree.
> Make sure all other projects inherite the root.
> 
> -D
> 
> On 6/16/05, fabrice jean <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > We have many maven projects and we'd like to store
> all
> > the pom's versions in an external property file
> > 
> > so in a pom, it would be :
> > ...
> > ${aProj.version}
> > ...
> > 
> > aProj.version is a property defined in this common
> > external property file
> > 
> > If i load this property file in maven.xml, it's
> too
> > late (pom already parsed) and i can't use -D ,
> > project.properties nor build.properties
> > 
> > Is it possible to load this property file before
> the
> > pom's parsing ?
> > 
> > Thanks for any help,
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>
___
> > Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger
> > Téléchargez cette version sur
> http://fr.messenger.yahoo.com
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> >
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



load a property file before the pom's parsing

2005-06-16 Thread fabrice jean
Hi,

We have many maven projects and we'd like to store all
the pom's versions in an external property file

so in a pom, it would be :
...
${aProj.version}
...

aProj.version is a property defined in this common
external property file

If i load this property file in maven.xml, it's too
late (pom already parsed) and i can't use -D ,
project.properties nor build.properties

Is it possible to load this property file before the
pom's parsing ?

Thanks for any help,
  







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]