RE: Determining top-level parent pom directory

2007-09-19 Thread Tim Foster
Wayne or anyone elsesuggestions? Tim -Original Message- From: Tim Foster [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 4:18 PM To: Maven Users List Subject: RE: Determining top-level parent pom directory Okay. I'm trying to dynamically create a properties file, e.g

Re: Determining top-level parent pom directory

2007-09-19 Thread Wendy Smoak
On 9/18/07, Tim Foster [EMAIL PROTECTED] wrote: Okay. I'm trying to dynamically create a properties file, e.g., my.properties, into which I can define properties that can be referenced at all levels of the hierarchy. This file would live in a location relative to the top-level pom file. The

RE: Determining top-level parent pom directory

2007-09-19 Thread Tim Foster
] Sent: Wednesday, September 19, 2007 9:36 AM To: Maven Users List Subject: Re: Determining top-level parent pom directory On 9/18/07, Tim Foster [EMAIL PROTECTED] wrote: Okay. I'm trying to dynamically create a properties file, e.g., my.properties, into which I can define properties that can

Re: Determining top-level parent pom directory

2007-09-19 Thread Wendy Smoak
On 9/19/07, Tim Foster [EMAIL PROTECTED] wrote: Thanks for your reply. I want the properties to be available both at build time (e.g., to be used in packaging) and runtime (e.g., to be used to locate other resources that are relative to directory property values). I still don't have the

Re: Determining top-level parent pom directory

2007-09-19 Thread Wayne Fay
You could turn this single file into its own module and deploy etc it on its own in a jar file. Then use remote-resources plugin or assembly:unpack or a similar approach to bring that file into each submodule as needed. You generally should not expect that a Maven build of a module necessarily

Re: Determining top-level parent pom directory

2007-09-18 Thread Wayne Fay
Tell us more about what you're trying to do. Wayne On 9/18/07, Tim Foster [EMAIL PROTECTED] wrote: In a multi-module pom hierarchy, what is the best way to determine/reference the top-level pom directory? Tim - To

RE: Determining top-level parent pom directory

2007-09-18 Thread Tim Foster
:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 3:58 PM To: Maven Users List Subject: Re: Determining top-level parent pom directory Tell us more about what you're trying to do. Wayne On 9/18/07, Tim Foster [EMAIL PROTECTED] wrote: In a multi-module pom hierarchy, what is the best way