michael-o commented on code in PR #1061:
URL: https://github.com/apache/maven/pull/1061#discussion_r1152016383
##########
maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java:
##########
@@ -1051,16 +1057,44 @@ public MavenExecutionRequest setToolchains(Map<String,
List<ToolchainModel>> too
return this;
}
+ @Deprecated
@Override
public void setMultiModuleProjectDirectory(File directory) {
this.multiModuleProjectDirectory = directory;
}
+ @Deprecated
@Override
public File getMultiModuleProjectDirectory() {
return multiModuleProjectDirectory;
}
+ @Override
+ public Path getRootdir() {
+ if (rootdir == null) {
+ throw new IllegalArgumentException("Unable to find the root
directory. "
Review Comment:
But rather fail early than after 30 min of a build?
--
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]