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.plugin.testing.stubs
Methods in org.apache.maven.api.plugin.testing.stubs that return Language -
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 value of thelanguagerecord component.AbstractSession.requireLanguage(String id) Constructors in org.apache.maven.impl with parameters of type LanguageModifierConstructorDescriptionDefaultSourceRoot(ProjectScope scope, Language language, String moduleName, Version targetVersionOrNull, Path directory, List<String> includes, List<String> excludes, boolean stringFiltering, Path targetPathOrNull, boolean enabled) Canonical constructor.DefaultSourceRoot(ProjectScope scope, Language language, Path directory) Creates a simple instance with no Java module, no target version, and no include or exclude pattern. -
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.voidMavenProject.removeSourceRoot(ProjectScope scope, Language language, String directory) Removes a source root from the project.voidMavenProject.removeSourceRoot(ProjectScope scope, Language language, Path directory) Removes a source root from the project. -
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.