Ahh, well the problem you'll have is that there's not always a base
directory for that. The reason is that the parent does not have to be
installed locally.  

Can that configuration file be pushed into another artifact and included as
a dependency?

David


> -----Original Message-----
> From: Dan Adams [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 03, 2006 4:31 PM
> To: Maven Users List
> Subject: RE: [m2] refering to the project root directory
> 
> Well, it seems that basedir will refer to the directory of 
> the current project/module. I want the path to the top level 
> project from within the the module pom.xmls.
> 
> On Wed, 2006-05-03 at 16:22 -0400, David H. DeWolf wrote:
> > I think ${basedir} is what you're looking for.
> > 
> > David
> > 
> > > -----Original Message-----
> > > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, May 03, 2006 4:17 PM
> > > To: Maven users list
> > > Subject: [m2] refering to the project root directory
> > > 
> > > How do you refer to the project root directory in a pom? I have a 
> > > configuration setting that I want to set to a path 
> relative to the 
> > > project root in a number of sub-modules.
> > > 
> > > --
> > > Dan Adams
> > > Software Engineer
> > > Interactive Factory
> > > 617.235.5857
> > > 
> > > 
> > > 
> --------------------------------------------------------------------
> > > - 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]
> > 
> --
> Dan Adams
> Software Engineer
> Interactive Factory
> 617.235.5857
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to