mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-14 22:25:33 +00:00
Test BOM edits #9
This commit is contained in:
@@ -88,6 +88,15 @@ public class ClientLayout extends Layout {
|
||||
this.logbackConfigurationPath = logbackConfigurationPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param newUserDir where to change the current directory to
|
||||
* @return a new {@link ClientLayout} with {@code userDir} set to the given {@code newUserDir}
|
||||
*/
|
||||
public ClientLayout cd(Path newUserDir) {
|
||||
return new ClientLayout(mvndPropertiesPath, mavenHome, newUserDir, multiModuleProjectDirectory, javaHome,
|
||||
localMavenRepository, settings, logbackConfigurationPath);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return absolute normalized path to local Maven repository or {@code null} if the server is supposed to use the
|
||||
* default
|
||||
|
Reference in New Issue
Block a user