Package org.apache.maven.resolver
Interface RepositorySystemSessionFactory
public interface RepositorySystemSessionFactory
Factory for Resolver session.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.RepositorySystemSession.SessionBuilder
Creates "ready to use" session builder instance.
-
Method Details
-
newRepositorySessionBuilder
org.eclipse.aether.RepositorySystemSession.SessionBuilder newRepositorySessionBuilder(MavenExecutionRequest request) Creates "ready to use" session builder instance. The factory does not set up one thing: theWorkspaceReader
s, that is caller duty to figure out. Workspace readers should be set up as very last thing before using resolver session, that is built by invokingRepositorySystemSession.SessionBuilder.build()
method.- Parameters:
request
- The maven execution request, must not benull
.- Returns:
- The session builder "ready to use" without workspace readers.
-