AetherContext

class AetherContext(val system: RepositorySystem, val session: RepositorySystemSession, val remoteRepos: List<RemoteRepository>)(source)

Bundles the three Maven Resolver objects needed by io.github.skhokhlov.rewriterunner.recipe.RecipeArtifactResolver and io.github.skhokhlov.rewriterunner.lst.DependencyResolutionStage: a RepositorySystem, a RepositorySystemSession, and the list of configured RemoteRepository instances.

Two separate instances are created per io.github.skhokhlov.rewriterunner.RewriteRunner.run invocation, each with a distinct local Maven repository:

Create instances via the build factory, passing the desired localRepoDir explicitly.

Parameters

system

The Maven Resolver RepositorySystem.

session

The Maven Resolver session (includes local repository, timeout config, etc.).

remoteRepos

The remote repositories to query during artifact resolution (Maven Central plus any extras supplied at build time).

Constructors

Link copied to clipboard
constructor(system: RepositorySystem, session: RepositorySystemSession, remoteRepos: List<RemoteRepository>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val remoteRepos: List<RemoteRepository>
Link copied to clipboard
val session: RepositorySystemSession
Link copied to clipboard
val system: RepositorySystem