Test BOM edits #9

This commit is contained in:
Peter Palaga
2020-09-28 18:23:19 +02:00
parent f13a01c97a
commit 9c1b63eb16
22 changed files with 716 additions and 51 deletions

View File

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