Package org.apache.maven.api
Interface ProjectScope
- All Superinterfaces:
ExtensibleEnum
Project scope.
Defines the type of source files to compile, usually either the one that compose the output package
(i.e. the main artifact) or the ones that will be used when building tests).
This extensible enum has two defined values, MAIN
and TEST
,
but can be extended by registering a org.apache.maven.api.spi.ProjectScopeProvider
.
Implementation must have equals()
and hashCode()
implemented, so implementations of this interface
can be used as keys.
- Since:
- 4.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ProjectScope
Main scope.static final ProjectScope
Test scope. -
Method Summary
Methods inherited from interface org.apache.maven.api.ExtensibleEnum
id
-
Field Details
-
MAIN
Main scope. -
TEST
Test scope.
-