[ 
http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106800
 ] 

Brian Fox commented on MNG-1958:
--------------------------------

I haven't tried it yet, but I know that ./ always points to the root of where a 
build was launched (basically the current folder when the jvm is launched). I 
was looking here http://www.sonatype.com/book/properties.html#properties and 
noticed "user.dir" from the java settings. I bet this would work.

> we need a var that always points to the root direcotry in multi module builds
> -----------------------------------------------------------------------------
>
>                 Key: MNG-1958
>                 URL: http://jira.codehaus.org/browse/MNG-1958
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Reactor and workspace
>            Reporter: Mark Proctor
>             Fix For: 2.1
>
>
> ${basedir} always points to the local module. There are cases, when having a 
> local relative repository, when it would be usefull to have a var that always 
> pointed to the root project, ${rootdir}.
> In such a case you may want to think of having the names ${rootdir} 
> ${moduledir}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to