Package org.apache.maven.internal.aether
Class DefaultRepositorySystemSessionFactory
java.lang.Object
org.apache.maven.internal.aether.DefaultRepositorySystemSessionFactory
- All Implemented Interfaces:
RepositorySystemSessionFactory
@Named
@Singleton
public class DefaultRepositorySystemSessionFactory
extends Object
implements RepositorySystemSessionFactory
- Since:
- 3.3.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.RepositorySystemSession
Deprecated.org.eclipse.aether.RepositorySystemSession.SessionBuilder
Creates "ready to use" session builder instance.
-
Field Details
-
MAVEN_RESOLVER_TRANSPORT_DEFAULT
- See Also:
-
MAVEN_RESOLVER_TRANSPORT_WAGON
- See Also:
-
MAVEN_RESOLVER_TRANSPORT_APACHE
- See Also:
-
MAVEN_RESOLVER_TRANSPORT_JDK
- See Also:
-
MAVEN_RESOLVER_TRANSPORT_AUTO
- See Also:
-
-
Method Details
-
newRepositorySession
@Deprecated public org.eclipse.aether.RepositorySystemSession newRepositorySession(MavenExecutionRequest request) Deprecated. -
newRepositorySessionBuilder
public org.eclipse.aether.RepositorySystemSession.SessionBuilder newRepositorySessionBuilder(MavenExecutionRequest request) Description copied from interface:RepositorySystemSessionFactory
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.- Specified by:
newRepositorySessionBuilder
in interfaceRepositorySystemSessionFactory
- Parameters:
request
- The maven execution request, must not benull
.- Returns:
- The session builder "ready to use" without workspace readers.
-