cstamas commented on PR #383: URL: https://github.com/apache/maven-resolver/pull/383#issuecomment-1834282831
@gnodet Yes, taking step back is actually the point here: to ease migration of code that used Resolver 1.x. My plan is following: DefaultRepositorySystemSession (DRSS) should be gone soon, let's say in 2.1 version. In a moment DRSS is gone, MutableSession loses it's role, and to be removed as well, because then the only way to create session becomes the RepositorySystem#createSessionBuilder() method. Basically at point, when DRSS is gone, the MutableSession has no role to fulfil (as currently all it does, is "bridges" between old code passing around DRSS and settings things on it, and new code that uses SessionBuilder. My only problem with this, is that am introducing an interface on public API in 2.0.0 that is meant to be gone in (let's say) 2.1. Should it be deprecated immediately as well? Maybe deprecate whole DRSS class as well (and not only def ctor)? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
