Path () { if (ourMavenRepositoryPath == null) { String userHome = System.getProperty("user.home", null); Path path = userHome != null ? Path.of(userHome, DEFAULT_MAVEN_REPOSITORY_PATH) : Path.of(DEFAULT_MAVEN_REPOSITORY_PATH); ourMavenRepositoryPath = path.toAbsolutePath(); } return ourMavenRepositoryPath; }