[
https://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350827#comment-350827
]
Jason van Zyl commented on MNG-1958:
------------------------------------
@Robert, possibly. While this is intended for plugins and extensions, I'm not
sure what harm there is in exposing this as it will be immutable for a build.
If a project wanted to use this I'm not sure there's any harm. That said no
plans to immediately expose this to MavenProject as I have no use case for that
personally.
> 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)