Dana, just to clarify, he was asking about variables in dependencies. I don't think the parent is considered a <dependency> in the technical sense that Maven uses.
On Tue, Dec 8, 2009 at 6:40 PM, Lacoste, Dana (TSG Software San Diego) <[email protected]> wrote: > No, with maven 2 you cannot have a variable in the parent version. The > string will be interpreted literally without dereferencing the variable name. > > Similarly, you can't have an empty version number: the parent MUST have a > defined version number and it MUST be absolute and not contain any variables. > > variables work fine in any other version number, however. ranges, on the > other hand, do not ;) > > Dana Lacoste > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Paul Benedict > Sent: Tuesday, December 08, 2009 4:37 PM > To: Maven Users List > Subject: Re: maven 3 inheritance > >> ...and parent versions? > > Good question. You'll have to find out if the project hierarchy or > dependency resolution is processed first. Report back and tell us! > > Paul > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
