Class DefaultRootLocator
java.lang.Object
org.apache.maven.impl.model.rootlocator.DefaultRootLocator
- All Implemented Interfaces:
Service,RootLocator
-
Field Summary
Fields inherited from interface org.apache.maven.api.services.model.RootLocator
UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMandatoryRoot(Path basedir) protected PathgetCanonicalPath(Path path) protected booleanisRootDirectory(Path dir) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.model.RootLocator
getNoRootMessage
-
Constructor Details
-
DefaultRootLocator
public DefaultRootLocator()
-
-
Method Details
-
findRoot
- Specified by:
findRootin interfaceRootLocator
-
findMandatoryRoot
- Specified by:
findMandatoryRootin interfaceRootLocator
-
isRootDirectory
-
getRootDirectoryFallback
-
getCanonicalPath
-