Class DefaultRepositorySystemSessionFactory

java.lang.Object
org.apache.maven.internal.aether.DefaultRepositorySystemSessionFactory

@Named public class DefaultRepositorySystemSessionFactory extends Object
Since:
3.3.0
  • Field Details

    • MAVEN_REPO_LOCAL_TAIL

      private static final String MAVEN_REPO_LOCAL_TAIL
      User property for chained LRM: list of "tail" local repository paths (separated by comma), to be used with ChainedLocalRepositoryManager. Default value: null, no chained LRM is used.
      Since:
      3.9.0
      See Also:
    • MAVEN_REPO_LOCAL_TAIL_IGNORE_AVAILABILITY

      private static final String MAVEN_REPO_LOCAL_TAIL_IGNORE_AVAILABILITY
      User property for chained LRM: should artifact availability be ignored in tail local repositories or not. Default: true, will ignore availability from tail local repositories.
      Since:
      3.9.0
      See Also:
    • MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE

      private static final String MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE
      User property for reverse dependency tree. If enabled, Maven will record ".tracking" directory into local repository with "reverse dependency tree", essentially explaining WHY given artifact is present in local repository. Default: false, will not record anything.
      Since:
      3.9.0
      See Also:
    • MAVEN_RESOLVER_TRANSPORT_KEY

      private static final String MAVEN_RESOLVER_TRANSPORT_KEY
      See Also:
    • MAVEN_RESOLVER_TRANSPORT_DEFAULT

      private static final String MAVEN_RESOLVER_TRANSPORT_DEFAULT
      See Also:
    • MAVEN_RESOLVER_TRANSPORT_WAGON

      private static final String MAVEN_RESOLVER_TRANSPORT_WAGON
      See Also:
    • MAVEN_RESOLVER_TRANSPORT_NATIVE

      private static final String MAVEN_RESOLVER_TRANSPORT_NATIVE
      See Also:
    • MAVEN_RESOLVER_TRANSPORT_AUTO

      private static final String MAVEN_RESOLVER_TRANSPORT_AUTO
      See Also:
    • WAGON_TRANSPORTER_PRIORITY_KEY

      private static final String WAGON_TRANSPORTER_PRIORITY_KEY
      See Also:
    • NATIVE_HTTP_TRANSPORTER_PRIORITY_KEY

      private static final String NATIVE_HTTP_TRANSPORTER_PRIORITY_KEY
      See Also:
    • NATIVE_FILE_TRANSPORTER_PRIORITY_KEY

      private static final String NATIVE_FILE_TRANSPORTER_PRIORITY_KEY
      See Also:
    • RESOLVER_MAX_PRIORITY

      private static final String RESOLVER_MAX_PRIORITY
    • logger

      @Inject private org.codehaus.plexus.logging.Logger logger
    • artifactHandlerManager

      @Inject private ArtifactHandlerManager artifactHandlerManager
    • repoSystem

      @Inject private org.eclipse.aether.RepositorySystem repoSystem
    • workspaceRepository

      @Inject @Nullable @Named("ide") private org.eclipse.aether.repository.WorkspaceReader workspaceRepository
    • settingsDecrypter

      @Inject private SettingsDecrypter settingsDecrypter
    • eventSpyDispatcher

      @Inject private EventSpyDispatcher eventSpyDispatcher
    • mavenRepositorySystem

      @Inject MavenRepositorySystem mavenRepositorySystem
    • runtimeInformation

      @Inject private RuntimeInformation runtimeInformation
  • Constructor Details

    • DefaultRepositorySystemSessionFactory

      public DefaultRepositorySystemSessionFactory()
  • Method Details

    • newRepositorySession

      public org.eclipse.aether.DefaultRepositorySystemSession newRepositorySession(MavenExecutionRequest request)
    • setUpLocalRepositoryManager

      private void setUpLocalRepositoryManager(MavenExecutionRequest request, org.eclipse.aether.DefaultRepositorySystemSession session)
    • getPropertiesFromRequestedProfiles

      private Map<?,?> getPropertiesFromRequestedProfiles(MavenExecutionRequest request)
    • getUserAgent

      private String getUserAgent()