You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jared Blitzstein <ma...@blitzstein.net> on 2007/06/26 18:41:50 UTC

maven2 property to get absolute location of POM?

Is there a POM property that can return the absolute path or itself?  
I have a dependency that must use the systemPath tag but the absolute  
path could be different for all our developers, but it's always the  
same relative to the pom. Any idea how to accomplish this with just  
entries in the POM, I don't want to have to set environment vars on  
the system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven2 property to get absolute location of POM?

Posted by Heinrich Nirschl <he...@gmail.com>.
On Tue, 2007-06-26 at 12:41 -0400, Jared Blitzstein wrote:
> Is there a POM property that can return the absolute path or itself?  
> I have a dependency that must use the systemPath tag but the absolute  
> path could be different for all our developers, but it's always the  
> same relative to the pom. Any idea how to accomplish this with just  
> entries in the POM, I don't want to have to set environment vars on  
> the system.

${basedir} is the directory where the pom.xml is located.

- Henry


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org