Uses of Interface
org.apache.maven.api.Project
Package
Description
-
Uses of Project in org.apache.maven.api
Modifier and TypeMethodDescriptionProject.getParent()
Event.getProject()
Gets the current project (if any).Session.getProjects()
Modifier and TypeMethodDescriptionSession.collectDependencies
(Project project) Shortcut forgetService(DependencyCollector.class).collect(...)
Session.getPluginContext
(Project project) Returns the plugin context for mojo being executed and the specifiedProject
, never returnsnull
as if context not present, creates it. -
Uses of Project in org.apache.maven.api.services
Modifier and TypeMethodDescriptionProjectBuilderResult.getProject()
Gets the project that was built.Modifier and TypeMethodDescriptionvoid
ProjectManager.addCompileSourceRoot
(Project project, String sourceRoot) void
ProjectManager.addTestCompileSourceRoot
(Project project, String sourceRoot) void
ProjectManager.attachArtifact
(Project project, Artifact artifact, Path path) default void
ProjectManager.attachArtifact
(Session session, Project project, String type, Path path) default void
ProjectManager.attachArtifact
(Session session, Project project, Path path) static DependencyCollectorRequest
default DependencyCollectorResult
Collects the transitive dependencies of some artifacts and builds a dependency graph.ProjectManager.getAttachedArtifacts
(Project project) ProjectManager.getCollectedDependencies
(Project project, ResolutionScope scope) ProjectManager.getCompileSourceRoots
(Project project) Returns the path to the resolved file in the local repository if the artifact has been resolved.ProjectManager.getRepositories
(Project project) ProjectManager.getResolvedDependencies
(Project project, ResolutionScope scope) ProjectManager.getTestCompileSourceRoots
(Project project) void
ProjectManager.setProperty
(Project project, String key, String value) -
Uses of Project in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionDefaultProject.getParent()
DefaultEvent.getProject()
AbstractSession.getProjects
(List<MavenProject> projects) DefaultSession.getProjects()
Modifier and TypeMethodDescriptionvoid
DefaultProjectManager.addCompileSourceRoot
(Project project, String sourceRoot) void
DefaultProjectManager.addTestCompileSourceRoot
(Project project, String sourceRoot) void
DefaultProjectManager.attachArtifact
(Project project, Artifact artifact, Path path) AbstractSession.collectDependencies
(Project project) Shortcut forgetService(DependencyCollector.class).collect(...)
DefaultProjectManager.getAttachedArtifacts
(Project project) DefaultProjectManager.getCollectedDependencies
(Project project, ResolutionScope scope) DefaultProjectManager.getCompileSourceRoots
(Project project) DefaultSession.getPluginContext
(Project project) DefaultProjectManager.getRepositories
(Project project) DefaultProjectManager.getResolvedDependencies
(Project project, ResolutionScope scope) DefaultProjectManager.getTestCompileSourceRoots
(Project project) void
DefaultProjectManager.setProperty
(Project project, String key, String value) -
Uses of Project in org.apache.maven.plugin
ModifierConstructorDescriptionPluginParameterExpressionEvaluatorV4
(Session session, Project project) PluginParameterExpressionEvaluatorV4
(Session session, Project project, MojoExecution mojoExecution)