gnodet commented on PR #1061:
URL: https://github.com/apache/maven/pull/1061#issuecomment-1489027939

   > > well the parent-child relation, and I often build setups where there are 
not really parent/child
   > 
   > as much as the `.mvn` thing actually, we are used to get it in the root 
dir but with fake parents (submodules for ex) it can be in the wrong dir so 
both strategies are as bad but relying on a recent addition and something not 
required by the project sounds very fragile upfront.
   
   I don't think it's broken, it's your use case which is wrong.  If you 
aggregate projects using submodules in a bigger aggregator, the definition of 
the `rootdir` indicates it won't bubble up, and that's definitely what we want, 
else the project build may fail locating files that are pointed to.  If we want 
a property that would point to the upper aggregator directory, we can define 
another property for that in a new PR, but I'm not sure about the use case for 
it yet, do you actually have one ?  Ffwiw, `git` has some similar properties to 
go up out of the gitmodule.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to