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.Session.resolveDependencies
(Project project, ResolutionScope scope) -
Uses of Project in org.apache.maven.api.services
Modifier and TypeMethodDescriptionDependencyCollectorRequest.getProject()
ProjectBuilderResult.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
static DependencyResolverRequest
static DependencyResolverRequest
DependencyResolverRequest.build
(Session session, Project project, ResolutionScope scope) default DependencyCollectorResult
Collects the transitive dependencies of some artifacts and builds a dependency graph.ProjectManager.getAttachedArtifacts
(Project project) 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.getTestCompileSourceRoots
(Project project) default DependencyResolverResult
default DependencyResolverResult
DependencyResolver.resolve
(Session session, Project project, ResolutionScope scope) void
ProjectManager.setProperty
(Project project, String key, String value) -
Uses of Project in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionAbstractSession.getProject
(MavenProject project) InternalSession.getProject
(MavenProject project) Modifier and TypeMethodDescriptionDefaultProject.getParent()
DefaultEvent.getProject()
AbstractSession.getProjects
(List<MavenProject> projects) DefaultSession.getProjects()
InternalSession.getProjects
(List<MavenProject> projects) 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.getCompileSourceRoots
(Project project) DefaultSession.getPluginContext
(Project project) DefaultProjectManager.getRepositories
(Project project) DefaultProjectManager.getTestCompileSourceRoots
(Project project) AbstractSession.resolveDependencies
(Project project, ResolutionScope scope) 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)