Uses of Interface
org.apache.maven.api.Language
Packages that use Language
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 Language in org.apache.maven.api
Fields in org.apache.maven.api declared as LanguageModifier and TypeFieldDescriptionstatic final Language
Language.JAVA_FAMILY
static final Language
Language.NONE
The "none" language.static final Language
Language.RESOURCES
The "resources" language.static final Language
Language.SCRIPT
Deprecated.Methods in org.apache.maven.api that return LanguageModifier and TypeMethodDescriptiondefault Language
Project.getLanguage()
Returns the project language.Type.getLanguage()
Returns the dependency type language.default Language
Packaging.language()
The language of this packaging.SourceRoot.language()
Returns the language of the source files.Session.requireLanguage
(String id) Obtain theLanguage
from the specifiedid
. -
Uses of Language in org.apache.maven.api.services
Methods in org.apache.maven.api.services with parameters of type LanguageModifier 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. -
Uses of Language in org.apache.maven.impl
Methods in org.apache.maven.impl that return LanguageModifier and TypeMethodDescriptionDefaultSourceRoot.language()
Returns the language of the source files.AbstractSession.requireLanguage
(String id) Constructors in org.apache.maven.impl with parameters of type LanguageModifierConstructorDescriptionDefaultSourceRoot
(ProjectScope scope, Language language, Path directory) Creates a new instance for the given directory and scope.DefaultSourceRoot
(ProjectScope scope, Language language, Path directory, List<PathMatcher> includes, List<PathMatcher> excludes) Creates a new instance for the given directory and scope. -
Uses of Language in org.apache.maven.impl.resolver.type
Methods in org.apache.maven.impl.resolver.type that return LanguageConstructors in org.apache.maven.impl.resolver.type with parameters of type Language -
Uses of Language in org.apache.maven.internal.impl
Methods in org.apache.maven.internal.impl with parameters of type LanguageModifier and TypeMethodDescriptionvoid
DefaultProjectManager.addSourceRoot
(Project project, ProjectScope scope, Language language, Path directory) DefaultProjectManager.getEnabledSourceRoots
(Project project, ProjectScope scope, Language language) -
Uses of Language in org.apache.maven.project
Methods in org.apache.maven.project with parameters of type LanguageModifier and TypeMethodDescriptionvoid
MavenProject.addSourceRoot
(ProjectScope scope, Language language, String directory) Resolves and adds the given directory as a source with the given scope and language.void
MavenProject.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. -
Uses of Language in org.apache.maven.repository.internal.type
Methods in org.apache.maven.repository.internal.type that return LanguageConstructors in org.apache.maven.repository.internal.type with parameters of type Language
RESOURCES
instead.