Uses of Interface
org.apache.maven.api.SourceRoot
Packages that use SourceRoot
Package
Description
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of SourceRoot in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return types with arguments of type SourceRootModifier and TypeMethodDescriptionProjectManager.getEnabledSourceRoots
(Project project, ProjectScope scope, Language language) Returns all enabled sources that provide files in the given language for the given scope.ProjectManager.getSourceRoots
(Project project) Returns all source root directories.Methods in org.apache.maven.api.services with parameters of type SourceRootModifier and TypeMethodDescriptionvoid
ProjectManager.addSourceRoot
(Project project, SourceRoot source) Adds the given source to the given project. -
Uses of SourceRoot in org.apache.maven.impl
Classes in org.apache.maven.impl that implement SourceRootModifier and TypeClassDescriptionfinal class
A default implementation ofSourceRoot
built from the model. -
Uses of SourceRoot in org.apache.maven.internal.impl
Methods in org.apache.maven.internal.impl that return types with arguments of type SourceRootModifier and TypeMethodDescriptionDefaultProjectManager.getEnabledSourceRoots
(Project project, ProjectScope scope, Language language) DefaultProjectManager.getSourceRoots
(Project project) Methods in org.apache.maven.internal.impl with parameters of type SourceRootModifier and TypeMethodDescriptionvoid
DefaultProjectManager.addSourceRoot
(Project project, SourceRoot source) -
Uses of SourceRoot in org.apache.maven.project
Methods in org.apache.maven.project that return types with arguments of type SourceRootModifier and TypeMethodDescriptionMavenProject.getEnabledSourceRoots
(ProjectScope scope, Language language) Returns all enabled sources that provide files in the given language for the given scope.MavenProject.getSourceRoots()
Returns all source root directories, including the disabled ones, for all languages and scopes.Methods in org.apache.maven.project with parameters of type SourceRootModifier and TypeMethodDescriptionvoid
MavenProject.addSourceRoot
(SourceRoot source) Adds the given source if not already present.