Package org.apache.maven.internal.aether
Class DefaultRepositorySystemSessionFactory
- java.lang.Object
-
- org.apache.maven.internal.aether.DefaultRepositorySystemSessionFactory
-
@Named public class DefaultRepositorySystemSessionFactory extends java.lang.Object- Since:
- 3.3.0
-
-
Field Summary
Fields Modifier and Type Field Description private ArtifactHandlerManagerartifactHandlerManagerprivate EventSpyDispatchereventSpyDispatcherprivate org.codehaus.plexus.logging.Loggerloggerprivate static java.lang.StringMAVEN_REPO_LOCAL_RECORD_REVERSE_TREEUser property for reverse dependency tree.private static java.lang.StringMAVEN_REPO_LOCAL_TAILUser property for chained LRM: list of "tail" local repository paths (separated by comma), to be used withChainedLocalRepositoryManager.private static java.lang.StringMAVEN_REPO_LOCAL_TAIL_IGNORE_AVAILABILITYUser property for chained LRM: should artifact availability be ignored in tail local repositories or not.private static java.lang.StringMAVEN_RESOLVER_TRANSPORT_AUTOprivate static java.lang.StringMAVEN_RESOLVER_TRANSPORT_DEFAULTprivate static java.lang.StringMAVEN_RESOLVER_TRANSPORT_KEYprivate static java.lang.StringMAVEN_RESOLVER_TRANSPORT_NATIVEprivate static java.lang.StringMAVEN_RESOLVER_TRANSPORT_WAGON(package private) MavenRepositorySystemmavenRepositorySystemprivate static java.lang.StringNATIVE_FILE_TRANSPORTER_PRIORITY_KEYprivate static java.lang.StringNATIVE_HTTP_TRANSPORTER_PRIORITY_KEYprivate org.eclipse.aether.RepositorySystemrepoSystemprivate static java.lang.StringRESOLVER_MAX_PRIORITYprivate RuntimeInformationruntimeInformationprivate SettingsDecryptersettingsDecrypterprivate static java.lang.StringWAGON_TRANSPORTER_PRIORITY_KEYprivate org.eclipse.aether.repository.WorkspaceReaderworkspaceRepository
-
Constructor Summary
Constructors Constructor Description DefaultRepositorySystemSessionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.Map<?,?>getPropertiesFromRequestedProfiles(MavenExecutionRequest request)private java.lang.StringgetUserAgent()org.eclipse.aether.DefaultRepositorySystemSessionnewRepositorySession(MavenExecutionRequest request)private voidsetUpLocalRepositoryManager(MavenExecutionRequest request, org.eclipse.aether.DefaultRepositorySystemSession session)
-
-
-
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 withChainedLocalRepositoryManager. 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
-
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
-
-
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()
-
-