Class DefaultRepositorySystemSessionFactory


  • @Named
    public class DefaultRepositorySystemSessionFactory
    extends java.lang.Object
    Since:
    3.3.0
    • Field Detail

      • MAVEN_REPO_LOCAL_TAIL

        private static final java.lang.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:
        Constant Field Values
      • MAVEN_REPO_LOCAL_TAIL_IGNORE_AVAILABILITY

        private static final java.lang.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:
        Constant Field Values
      • MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE

        private static final java.lang.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:
        Constant Field Values
      • MAVEN_RESOLVER_TRANSPORT_KEY

        private static final java.lang.String MAVEN_RESOLVER_TRANSPORT_KEY
        See Also:
        Constant Field Values
      • MAVEN_RESOLVER_TRANSPORT_DEFAULT

        private static final java.lang.String MAVEN_RESOLVER_TRANSPORT_DEFAULT
        See Also:
        Constant Field Values
      • MAVEN_RESOLVER_TRANSPORT_WAGON

        private static final java.lang.String MAVEN_RESOLVER_TRANSPORT_WAGON
        See Also:
        Constant Field Values
      • MAVEN_RESOLVER_TRANSPORT_NATIVE

        private static final java.lang.String MAVEN_RESOLVER_TRANSPORT_NATIVE
        See Also:
        Constant Field Values
      • MAVEN_RESOLVER_TRANSPORT_AUTO

        private static final java.lang.String MAVEN_RESOLVER_TRANSPORT_AUTO
        See Also:
        Constant Field Values
      • WAGON_TRANSPORTER_PRIORITY_KEY

        private static final java.lang.String WAGON_TRANSPORTER_PRIORITY_KEY
        See Also:
        Constant Field Values
      • NATIVE_HTTP_TRANSPORTER_PRIORITY_KEY

        private static final java.lang.String NATIVE_HTTP_TRANSPORTER_PRIORITY_KEY
        See Also:
        Constant Field Values
      • NATIVE_FILE_TRANSPORTER_PRIORITY_KEY

        private static final java.lang.String NATIVE_FILE_TRANSPORTER_PRIORITY_KEY
        See Also:
        Constant Field Values
      • RESOLVER_MAX_PRIORITY

        private static final java.lang.String RESOLVER_MAX_PRIORITY
      • logger

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

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

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

      • DefaultRepositorySystemSessionFactory

        public DefaultRepositorySystemSessionFactory()
    • Method Detail

      • newRepositorySession

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

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

        private java.util.Map<?,​?> getPropertiesFromRequestedProfiles​(MavenExecutionRequest request)
      • getUserAgent

        private java.lang.String getUserAgent()