- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for findMandatoryRoot (0.09 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
} return null; } @Nonnull public static Path findMandatoryRoot(Path topDirectory) { requireNonNull(topDirectory, "topDirectory"); return getCanonicalPath(Optional.ofNullable( ServiceLoader.load(RootLocator.class).iterator().next().findMandatoryRoot(topDirectory)) .orElseThrow()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 13 18:30:29 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java
+ "Create a .mvn directory in the root directory or add the root=\"true\"" + " attribute on the root project's model to identify it."; @Nonnull default Path findMandatoryRoot(Path basedir) { Path rootDirectory = findRoot(basedir); if (rootDirectory == null) { throw new IllegalStateException(getNoRootMessage()); } return rootDirectory; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java
if ("project.rootDirectory".equals(expression)) { Path base = basedir != null ? basedir.toPath() : null; Path root = rootLocator.findMandatoryRoot(base); return root.toFile().getAbsolutePath(); } return null; } });
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
} // project present, but we could not determine rootDirectory: extra work needed if (context.invokerRequest.rootDirectory().isEmpty()) { Path rootDirectory = CliUtils.findMandatoryRoot(context.invokerRequest.topDirectory()); request.setMultiModuleProjectDirectory(rootDirectory.toFile()); request.setRootDirectory(rootDirectory); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 28.2K bytes - Viewed (0)