Interface RepositorySystemSessionFactory


public interface RepositorySystemSessionFactory
Factory for Resolver session.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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: the WorkspaceReaders, 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 invoking RepositorySystemSession.SessionBuilder.build() method.
      Parameters:
      request - The maven execution request, must not be null.
      Returns:
      The session builder "ready to use" without workspace readers.