Package org.apache.maven.api
Interface PathScope
- All Superinterfaces:
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
-
MAIN_RUNTIME
-
TEST_COMPILE
-
TEST_RUNTIME
-
-
Method Details
-
projectScope
-
dependencyScopes
-