You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/08/01 16:43:10 UTC

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

    [ https://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350826#comment-350826 ] 

Jason van Zyl commented on MNG-1958:
------------------------------------

@paul I think you misunderstand. I want a deterministic reference to the root of a multi-module build so that information that pertains to the whole build could be stored in a known location which is the root of the multi-module build. Has nothing to do with the local repository and ${basedir} refers to the basedir of a given project, not the build as a whole.

> we need a var that always points to the root directory in multi module builds
> -----------------------------------------------------------------------------
>
>                 Key: MNG-1958
>                 URL: https://jira.codehaus.org/browse/MNG-1958
>             Project: Maven
>          Issue Type: Improvement
>          Components: Reactor and workspace
>            Reporter: Mark Proctor
>            Assignee: Jason van Zyl
>             Fix For: 3.2.3
>
>
> $\{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 was sent by Atlassian JIRA
(v6.1.6#6162)