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
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final EventSpyDispatcherprivate static final Stringprivate static final Stringprivate final org.slf4j.Loggerstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate static final StringDeprecated.static final Stringprivate final org.eclipse.aether.RepositorySystemprivate static final Stringprivate final RuntimeInformationprivate final Map<String, RepositorySystemSessionExtender> private final TypeRegistryprivate final org.eclipse.aether.version.VersionSchemeprivate static final String -
Constructor Summary
ConstructorsConstructorDescriptionDefaultRepositorySystemSessionFactory(org.eclipse.aether.RepositorySystem repoSystem, EventSpyDispatcher eventSpyDispatcher, RuntimeInformation runtimeInformation, TypeRegistry typeRegistry, org.eclipse.aether.version.VersionScheme versionScheme, Map<String, RepositorySystemSessionExtender> sessionExtenders) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.eclipse.aether.collection.VersionFilterbuildVersionFilter(String filterExpression) private Stringorg.eclipse.aether.RepositorySystemSessionDeprecated.org.eclipse.aether.RepositorySystemSession.SessionBuilderCreates "ready to use" session builder instance.private org.eclipse.aether.version.VersionparseVersion(String spec) private org.eclipse.aether.version.VersionRangeparseVersionRange(String spec) private Path
-
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_NATIVE
Deprecated.Renamed toMAVEN_RESOLVER_TRANSPORT_APACHEThis name for Apache HttpClient transport is deprecated.- See Also:
-
MAVEN_RESOLVER_TRANSPORT_AUTO
- See Also:
-
WAGON_TRANSPORTER_PRIORITY_KEY
- See Also:
-
APACHE_HTTP_TRANSPORTER_PRIORITY_KEY
- See Also:
-
JDK_HTTP_TRANSPORTER_PRIORITY_KEY
- See Also:
-
FILE_TRANSPORTER_PRIORITY_KEY
- See Also:
-
RESOLVER_MAX_PRIORITY
-
logger
private final org.slf4j.Logger logger -
repoSystem
private final org.eclipse.aether.RepositorySystem repoSystem -
eventSpyDispatcher
-
runtimeInformation
-
typeRegistry
-
versionScheme
private final org.eclipse.aether.version.VersionScheme versionScheme -
sessionExtenders
-
-
Constructor Details
-
DefaultRepositorySystemSessionFactory
@Inject DefaultRepositorySystemSessionFactory(org.eclipse.aether.RepositorySystem repoSystem, EventSpyDispatcher eventSpyDispatcher, RuntimeInformation runtimeInformation, TypeRegistry typeRegistry, org.eclipse.aether.version.VersionScheme versionScheme, Map<String, RepositorySystemSessionExtender> sessionExtenders)
-
-
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:RepositorySystemSessionFactoryCreates "ready to use" session builder instance. The factory does not set up one thing: theWorkspaceReaders, 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:
newRepositorySessionBuilderin interfaceRepositorySystemSessionFactory- Parameters:
request- The maven execution request, must not benull.- Returns:
- The session builder "ready to use" without workspace readers.
-
resolve
-
buildVersionFilter
-
parseVersion
-
parseVersionRange
-
createMergedProperties
-
getPropertiesFromRequestedProfiles
-
getUserAgent
-
MAVEN_RESOLVER_TRANSPORT_APACHE