- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsRootDirectory (0.07 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java
Path rootDirectory = basedir; while (rootDirectory != null && !isRootDirectory(rootDirectory)) { rootDirectory = rootDirectory.getParent(); } return rootDirectory; } @Nonnull default String getNoRootMessage() { return UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE; } boolean isRootDirectory(Path dir);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
/** * @deprecated use {@link org.apache.maven.api.services.model.RootLocator} instead */ @Named @Deprecated(since = "4.0.0") public class DefaultRootLocator implements RootLocator { public boolean isRootDirectory(Path dir) { if (Files.isDirectory(dir.resolve(".mvn"))) { return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0)