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 TypeMethodDescriptionvoidProjectManager.addSourceRoot(Project project, SourceRoot source) Adds the given source to the given project.