gnodet commented on code in PR #1061:
URL: https://github.com/apache/maven/pull/1061#discussion_r1142092067


##########
maven-core/src/main/java/org/apache/maven/execution/MavenSession.java:
##########
@@ -141,10 +142,28 @@ public List<MavenProject> getProjects() {
         return projects;
     }
 
+    /**
+     * @deprecated use {@link #getTopdir()}
+     */
+    @Deprecated
     public String getExecutionRootDirectory() {
         return request.getBaseDirectory();
     }
 
+    /**
+     * @since 4.0
+     */
+    public Path getTopdir() {
+        return request.getTopdir();
+    }
+
+    /**
+     * @since 4.0

Review Comment:
   Note that all the new classes from the api are annotated with `4.0`, so I 
guess I'll raise a PR to fix those and make things a bit more coherent.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to