cstamas commented on issue #1031:
URL: https://github.com/apache/maven-mvnd/issues/1031#issuecomment-2175917027

   You could pass it like this: 
https://github.com/cstamas/rrf-demo/blob/master/.mvn/maven.config#L2
   
   Explanation: the used property is not a public property, should not be used 
(is an implementation detail). The new thing in Maven 3.9.x was 
`${session.rootDirectory}` but alas, it is interpolated ONLY IN SETTINGS. 
Hence, if you just add `foo=${session.rootDirectory}` you will get the value as 
$foo among properties as well.
   
   Maven4 makes this new property accessible in settings (like Maven 3.9.x) but 
also as properties (unlike Maven 3.9).


-- 
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