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.default LanguageSourceRoot.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
Subinterfaces with type arguments of type Language in org.apache.maven.api.servicesMethods 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.
Language.RESOURCESinstead.