Interface PathScope

All Superinterfaces:
ExtensibleEnum

@Experimental @Immutable public interface PathScope extends ExtensibleEnum
Path scope. A path scope is used to determine the kind of build or class path that will be built when resolving dependencies using the DependencyResolver service.

This extensible enum has four defined values, MAIN_COMPILE, MAIN_RUNTIME, TEST_COMPILE and TEST_RUNTIME, but can be extended by registering a org.apache.maven.api.spi.PathScopeProvider.

Implementation must have equals() and hashCode() implemented, so implementations of this interface can be used as keys.

Since:
4.0.0
See Also:
  • Field Details

    • MAIN_COMPILE

      static final PathScope MAIN_COMPILE
    • MAIN_RUNTIME

      static final PathScope MAIN_RUNTIME
    • TEST_COMPILE

      static final PathScope TEST_COMPILE
    • TEST_RUNTIME

      static final PathScope TEST_RUNTIME
  • Method Details