Package | Description |
---|---|
org.apache.maven.api | |
org.apache.maven.api.services | |
org.apache.maven.execution | |
org.apache.maven.internal.impl | |
org.apache.maven.plugin |
Modifier and Type | Method and Description |
---|---|
Session |
Event.getSession()
Gets the session from which this event originates.
|
Session |
Session.withLocalRepository(LocalRepository localRepository)
Creates a derived session using the given local repository.
|
Session |
Session.withRemoteRepositories(List<RemoteRepository> repositories)
Creates a derived session using the given remote repositories.
|
Modifier and Type | Method and Description |
---|---|
Session |
DependencyCollectorRequest.getSession() |
Session |
ProjectBuilderRequest.getSession() |
Session |
ArtifactFactoryRequest.getSession() |
Session |
ArtifactInstallerRequest.getSession() |
Session |
ArtifactResolverRequest.getSession() |
Session |
ArtifactCoordinateFactoryRequest.getSession() |
Session |
ArtifactDeployerRequest.getSession() |
Modifier and Type | Method and Description |
---|---|
default void |
ProjectManager.attachArtifact(Session session,
Project project,
Path path) |
default void |
ProjectManager.attachArtifact(Session session,
Project project,
String type,
Path path) |
static DependencyCollectorRequest |
DependencyCollectorRequest.build(Session session,
Artifact root) |
default ProjectBuilderResult |
ProjectBuilder.build(Session session,
Artifact artifact)
Creates a
Project from an artifact. |
static ProjectBuilderRequest |
ProjectBuilderRequest.build(Session session,
Artifact artifact) |
static DependencyCoordinateFactoryRequest |
DependencyCoordinateFactoryRequest.build(Session session,
ArtifactCoordinate coordinate) |
default ProjectBuilderResult |
ProjectBuilder.build(Session session,
ArtifactCoordinate coordinate)
Creates a
Project from a coordinate. |
static ProjectBuilderRequest |
ProjectBuilderRequest.build(Session session,
ArtifactCoordinate coordinate) |
static ArtifactCoordinateFactoryRequest |
ArtifactCoordinateFactoryRequest.build(Session session,
ArtifactCoordinate coordinate) |
static ArtifactResolverRequest |
ArtifactResolverRequest.build(Session session,
Collection<? extends ArtifactCoordinate> coordinates) |
static ArtifactInstallerRequest |
ArtifactInstallerRequest.build(Session session,
Collection<Artifact> artifacts) |
static DependencyCoordinateFactoryRequest |
DependencyCoordinateFactoryRequest.build(Session session,
Dependency dependency) |
static DependencyCollectorRequest |
DependencyCollectorRequest.build(Session session,
DependencyCoordinate root) |
default ProjectBuilderResult |
ProjectBuilder.build(Session session,
Path path)
Creates a
Project from a POM file. |
static ProjectBuilderRequest |
ProjectBuilderRequest.build(Session session,
Path path) |
static DependencyCollectorRequest |
DependencyCollectorRequest.build(Session session,
Project project) |
default ProjectBuilderResult |
ProjectBuilder.build(Session session,
ProjectBuilderSource source)
Creates a
Project from a POM file. |
static ProjectBuilderRequest |
ProjectBuilderRequest.build(Session session,
ProjectBuilderSource source) |
static ArtifactDeployerRequest |
ArtifactDeployerRequest.build(Session session,
RemoteRepository repository,
Collection<Artifact> artifacts) |
static ArtifactFactoryRequest |
ArtifactFactoryRequest.build(Session session,
String groupId,
String artifactId,
String version,
String extension) |
static ArtifactCoordinateFactoryRequest |
ArtifactCoordinateFactoryRequest.build(Session session,
String groupId,
String artifactId,
String version,
String extension) |
static DependencyCoordinateFactoryRequest |
DependencyCoordinateFactoryRequest.build(Session session,
String groupId,
String artifactId,
String version,
String classifier,
String extension,
String type) |
static ArtifactFactoryRequest |
ArtifactFactoryRequest.build(Session session,
String groupId,
String artifactId,
String version,
String classifier,
String extension,
String type) |
static ArtifactCoordinateFactoryRequest |
ArtifactCoordinateFactoryRequest.build(Session session,
String groupId,
String artifactId,
String version,
String classifier,
String extension,
String type) |
default DependencyCollectorResult |
DependencyCollector.collect(Session session,
Artifact artifact)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
default DependencyCollectorResult |
DependencyCollector.collect(Session session,
DependencyCoordinate root)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
default DependencyCollectorResult |
DependencyCollector.collect(Session session,
Project project)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
default ArtifactCoordinate |
ArtifactCoordinateFactory.create(Session session,
Artifact artifact) |
default DependencyCoordinate |
DependencyCoordinateFactory.create(Session session,
ArtifactCoordinate coordinate) |
default DependencyCoordinate |
DependencyCoordinateFactory.create(Session session,
Dependency dependency) |
default DependencyCoordinate |
DependencyCoordinateFactory.create(Session session,
Dependency dependency) |
default DependencyCoordinate |
DependencyCoordinateFactory.create(Session session,
Plugin plugin) |
default DependencyCoordinate |
DependencyCoordinateFactory.create(Session session,
ReportPlugin reportPlugin) |
default ArtifactCoordinate |
ArtifactCoordinateFactory.create(Session session,
String groupId,
String artifactId,
String version,
String extension) |
default Artifact |
ArtifactFactory.create(Session session,
String groupId,
String artifactId,
String version,
String extension) |
default ArtifactCoordinate |
ArtifactCoordinateFactory.create(Session session,
String groupId,
String artifactId,
String version,
String classifier,
String extension,
String type) |
default Artifact |
ArtifactFactory.create(Session session,
String groupId,
String artifactId,
String version,
String classifier,
String extension,
String type) |
default void |
ArtifactDeployer.deploy(Session session,
RemoteRepository repository,
Collection<Artifact> artifacts) |
Path |
LocalRepositoryManager.getPathForLocalArtifact(Session session,
LocalRepository local,
Artifact artifact) |
Path |
LocalRepositoryManager.getPathForRemoteArtifact(Session session,
LocalRepository local,
RemoteRepository remote,
Artifact artifact) |
Optional<Toolchain> |
ToolchainManager.getToolchainFromBuildContext(Session session,
String type) |
List<Toolchain> |
ToolchainManager.getToolchains(Session session,
String type,
Map<String,String> requirements) |
List<Toolchain> |
ToolchainManager.getToolchainsForType(Session session,
String type) |
default void |
ArtifactInstaller.install(Session session,
Artifact artifact) |
default void |
ArtifactInstaller.install(Session session,
Collection<Artifact> artifacts) |
default ArtifactResolverResult |
ArtifactResolver.resolve(Session session,
Collection<? extends ArtifactCoordinate> coordinates) |
DependencyCollectorRequest.DependencyCollectorRequestBuilder |
DependencyCollectorRequest.DependencyCollectorRequestBuilder.session(Session session) |
DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder |
DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder.session(Session session) |
ProjectBuilderRequest.ProjectBuilderRequestBuilder |
ProjectBuilderRequest.ProjectBuilderRequestBuilder.session(Session session) |
ArtifactFactoryRequest.ArtifactFactoryRequestBuilder |
ArtifactFactoryRequest.ArtifactFactoryRequestBuilder.session(Session session) |
ArtifactInstallerRequest.ArtifactInstallerRequestBuilder |
ArtifactInstallerRequest.ArtifactInstallerRequestBuilder.session(Session session) |
ArtifactResolverRequest.ArtifactResolverRequestBuilder |
ArtifactResolverRequest.ArtifactResolverRequestBuilder.session(Session session) |
ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder |
ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder.session(Session session) |
ArtifactDeployerRequest.ArtifactDeployerRequestBuilder |
ArtifactDeployerRequest.ArtifactDeployerRequestBuilder.session(Session session) |
void |
ToolchainManager.storeToolchainToBuildContext(Session session,
Toolchain toolchain) |
Modifier and Type | Method and Description |
---|---|
Session |
MavenSession.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
MavenSession.setSession(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession |
class |
DefaultSession |
Modifier and Type | Method and Description |
---|---|
Session |
DefaultEvent.getSession() |
Session |
DefaultSessionFactory.getSession(MavenSession mavenSession) |
Session |
DefaultSession.withLocalRepository(LocalRepository localRepository) |
Session |
DefaultSession.withRemoteRepositories(List<RemoteRepository> repositories) |
Modifier and Type | Method and Description |
---|---|
Path |
DefaultLocalRepositoryManager.getPathForLocalArtifact(Session session,
LocalRepository local,
Artifact artifact) |
Path |
DefaultLocalRepositoryManager.getPathForRemoteArtifact(Session session,
LocalRepository local,
RemoteRepository remote,
Artifact artifact) |
Optional<Toolchain> |
DefaultToolchainManager.getToolchainFromBuildContext(Session session,
String type) |
List<Toolchain> |
DefaultToolchainManager.getToolchains(Session session,
String type,
Map<String,String> requirements) |
List<Toolchain> |
DefaultToolchainManager.getToolchainsForType(Session session,
String type) |
void |
DefaultToolchainManager.storeToolchainToBuildContext(Session session,
Toolchain toolchain) |
Constructor and Description |
---|
DefaultProjectManager(Session session,
ArtifactManager artifactManager,
org.codehaus.plexus.PlexusContainer container) |
Constructor and Description |
---|
PluginParameterExpressionEvaluatorV4(Session session,
Project project) |
PluginParameterExpressionEvaluatorV4(Session session,
Project project,
MojoExecution mojoExecution) |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.