Interface RootLocator

All Known Implementing Classes:
DefaultRootLocator

@Deprecated(since="4.0.0") public interface RootLocator
Deprecated.
use RootLocator instead
Interface used to locate the root directory for a given project. The root locator is usually looked up from the plexus container. One notable exception is the computation of the early session.rootDirectory property which happens very early. The implementation used in this case will be discovered using the JDK service mechanism. The default implementation will look for a .mvn child directory or a pom.xml containing the root="true" attribute.
See Also:
  • Field Details Link icon

    • UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE Link icon

      static final String UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE
      Deprecated.
      See Also:
  • Method Details Link icon

    • findMandatoryRoot Link icon

      @Nonnull default Path findMandatoryRoot(Path basedir)
      Deprecated.
    • findRoot Link icon

      @Nullable default Path findRoot(Path basedir)
      Deprecated.
    • getNoRootMessage Link icon

      @Nonnull default String getNoRootMessage()
      Deprecated.
    • isRootDirectory Link icon

      boolean isRootDirectory(Path dir)
      Deprecated.