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 ProjectScopeProjectScope.MAINMain scope.static final ProjectScopeProjectScope.TESTTest scope.Methods in org.apache.maven.api that return ProjectScopeModifier and TypeMethodDescriptionPathScope.projectScope()Session.requireProjectScope(String id) Obtain theProjectScopefrom the specifiedid.default ProjectScopeSourceRoot.scope()Returns in which context the source files will be used.Methods in org.apache.maven.api with parameters of type ProjectScopeModifier and TypeMethodDescriptiondefault PathProject.getOutputDirectory(ProjectScope scope) Returns the absolute path to the directory where files generated by the build are placed. -
Uses of ProjectScope in org.apache.maven.api.plugin.testing.stubs
Methods in org.apache.maven.api.plugin.testing.stubs that return ProjectScope -
Uses of ProjectScope in org.apache.maven.api.services
Methods in org.apache.maven.api.services with parameters of type ProjectScopeModifier and TypeMethodDescriptionvoidProjectManager.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. -
Uses of ProjectScope in org.apache.maven.impl
Methods in org.apache.maven.impl that return ProjectScopeModifier and TypeMethodDescriptionAbstractSession.requireProjectScope(String id) DefaultSourceRoot.scope()Returns the value of thescoperecord component.Method parameters in org.apache.maven.impl with type arguments of type ProjectScopeModifier and TypeMethodDescriptionstatic DefaultSourceRootDefaultSourceRoot.fromModel(Session session, Path baseDir, Function<ProjectScope, String> outputDir, Source source) Creates a new instance from the given model.Constructors in org.apache.maven.impl with parameters of type ProjectScopeModifierConstructorDescriptionDefaultSourceRoot(Path baseDir, ProjectScope scope, Resource resource) Creates a new instance from the given resource.DefaultSourceRoot(ProjectScope scope, Language language, String moduleName, Version targetVersionOrNull, Path directory, List<String> includes, List<String> excludes, boolean stringFiltering, Path targetPathOrNull, boolean enabled) Canonical constructor.DefaultSourceRoot(ProjectScope scope, Language language, Path directory) Creates a simple instance with no Java module, no target version, and no include or exclude pattern. -
Uses of ProjectScope in org.apache.maven.internal.impl
Methods in org.apache.maven.internal.impl with parameters of type ProjectScopeModifier and TypeMethodDescriptionvoidDefaultProjectManager.addSourceRoot(Project project, ProjectScope scope, Language language, Path directory) DefaultProjectManager.getEnabledSourceRoots(Project project, ProjectScope scope, Language language) -
Uses of ProjectScope in org.apache.maven.project
Methods in org.apache.maven.project with parameters of type ProjectScopeModifier and TypeMethodDescriptionvoidMavenProject.addSourceRoot(ProjectScope scope, Language language, String directory) Resolves and adds the given directory as a source with the given scope and language.voidMavenProject.addSourceRoot(ProjectScope scope, Language language, Path directory) Resolves and adds the given directory as a source with the given scope and language.MavenProject.getEnabledSourceRoots(ProjectScope scope, Language language) Returns all enabled sources that provide files in the given language for the given scope.voidMavenProject.removeSourceRoot(ProjectScope scope, Language language, String directory) Removes a source root from the project.voidMavenProject.removeSourceRoot(ProjectScope scope, Language language, Path directory) Removes a source root from the project.