Uses of Interface
org.apache.maven.api.ProjectScope
Packages that use ProjectScope
Package
Description
Maven Core API
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of ProjectScope in org.apache.maven.api
Fields in org.apache.maven.api declared as ProjectScopeModifier and TypeFieldDescriptionstatic final ProjectScope
ProjectScope.MAIN
Main scope.static final ProjectScope
ProjectScope.TEST
Test scope.Methods in org.apache.maven.api that return ProjectScopeModifier and TypeMethodDescriptionPathScope.projectScope()
Session.requireProjectScope
(String id) Obtain theProjectScope
from the specifiedid
.default ProjectScope
SourceRoot.scope()
Returns in which context the source files will be used. -
Uses of ProjectScope in org.apache.maven.api.services
Methods in org.apache.maven.api.services with parameters of type ProjectScopeModifier and TypeMethodDescriptionvoid
ProjectManager.addSourceRoot
(Project project, ProjectScope scope, Language language, Path directory) Resolves and adds the given directory as a source with the given scope and language.ProjectManager.getEnabledSourceRoots
(Project project, ProjectScope scope, Language language) Returns all enabled sources that provide files in the given language for the given scope.