You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Williams (JIRA)" <ji...@codehaus.org> on 2007/03/12 18:55:34 UTC

[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds

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

Andrew Williams commented on MNG-1958:
--------------------------------------

Can one of the interested parties say why this is wanted?

Any information that modules want to share should be packaged in an artifact and depended upon as any other dependency.

The very concept of a ${rootdir} breaks the reproducable nature of a maven build. Variable variables like this should be avoided!

> 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
>            Reporter: Mark Proctor
>             Fix For: 2.1.x
>
>
> ${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