Re: Multi-module passing properties to children

2008-03-26 Thread wayneaz
Wayne, your answer sounds like it might solve my problem, but I am a new user and am not sure of the syntax to implement your suggestion. I am creating a buildnumber with a time stamp in the parent pom using the buildnumber plugin. I want to pass the resultant property, ${buildNumber}, to all th

Re: Multi-module passing properties to children

2007-05-03 Thread Roland Asmann
If you include a -tag for your parent-POM, your project automatically inherits its version (unless you set it manually). In case you need to reference it in other places as well, try using ${parent.version} On Thursday 03 May 2007 01:04, Jared Blitzstein wrote: > Does using the parent tag requi

RE: Multi-module passing properties to children

2007-05-02 Thread Balasubramanian, Ravi Shankar
e that your parent pom be installed in the repository. -Original Message- From: Jared Blitzstein [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 4:34 AM To: Maven Users List Subject: Re: Multi-module passing properties to children Does using the parent tag require the project to b

Re: Multi-module passing properties to children

2007-05-02 Thread Jared Blitzstein
Does using the parent tag require the project to be in a repository? I planned on having this "suitepom" accessible via CVS but not something that is going to be installed in our company repo. I may be way off base though. Also, how would you pass something through like a version? The ver

Re: Multi-module passing properties to children

2007-05-02 Thread Wayne Fay
Put the shared properties in profiles in the parent pom, include the children as in the parent pom, and use the parent tag in the children to share properties with all your poms. Or is there a specific reason this is not sufficient? Wayne On 5/2/07, Jared Blitzstein <[EMAIL PROTECTED]> wrote: