Class SessionBuilderSupplier

java.lang.Object
org.eclipse.aether.supplier.SessionBuilderSupplier
All Implemented Interfaces:
Supplier<RepositorySystemSession.SessionBuilder>

Deprecated.
(To be removed as it was introduced in 2.0.0-alpha-2!) This class is wrong, as it uses Resolver 1.x bits that do interpret dependency scopes. The proper session supplier should be provided by consumer project (Maven) that also defines the dependency scopes and their meaning and semantics, as session need to be equipped with these bits. Session is very much dependent on the consumer project.
A simple Supplier of RepositorySystemSession.SessionBuilder instances, that on each call supplies newly constructed instance. To create session out of builder, use RepositorySystemSession.SessionBuilder.build(). For proper closing of sessions, use RepositorySystemSession.CloseableSession.close() method on built instance(s).

Extend this class and override methods to customize, if needed.

Since:
2.0.0