This in the top pom at the top level:
<properties>
<globalVersion>1</globalVersion>
</properties>
then in the module 1 level below pom
<version>${globalVersion}</version>
It creates a jar with foo-${globalVersion} as the name.
I get the feeling the reply will make me feel like a dope and I don't
have a syntax right!
> -----Original Message-----
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 12:06 PM
> To: Maven Users List
> Subject: Re: global props in top pom?
>
> On Jan 14, 2008 10:01 AM, Labanca, Rick
> <[EMAIL PROTECTED]> wrote:
>
> > I tried a <properties> area in the top pom but the
> underlying modules
> > don't see what I set there. Is there a mechanism to do this that I'm
> > missing?
>
> Actually, that should work. :) What did you try, and what makes you
> think it didn't work?
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> 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]