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 LanguageLanguage.JAVA_FAMILYstatic final LanguageLanguage.NONEThe "none" language.static final LanguageLanguage.RESOURCESThe "resources" language.static final LanguageLanguage.SCRIPTDeprecated.Methods in org.apache.maven.api that return LanguageModifier and TypeMethodDescriptiondefault LanguageProject.getLanguage()Returns the project language.Type.getLanguage()Returns the dependency type language.default LanguagePackaging.language()The language of this packaging.SourceRoot.language()Returns the language of the source files.Session.requireLanguage(String id) Obtain theLanguagefrom the specifiedid. -
Uses of Language in org.apache.maven.api.services
Methods in org.apache.maven.api.services with parameters of type LanguageModifier 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 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 TypeMethodDescriptionvoidDefaultProjectManager.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 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. -
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
RESOURCESinstead.