Guillaume Nodet opened MNG-8576 and commented
We do underuse the scopes as we tend to pass the Session in all requests to have stateless services.
The ToolchainManager is a good example, as we do actually get the mojo execution context to get to the project and store/retrieve the selected Toolchain according to that.
That looks wrong and should be simplified.
Affects: 4.0.0-rc-3
Issue Links:
- MNG-8558 Switch DefaultToolchainManager to Api V4
Guillaume Nodet opened MNG-8576 and commented
We do underuse the scopes as we tend to pass the
Sessionin all requests to have stateless services.The
ToolchainManageris a good example, as we do actually get the mojo execution context to get to the project and store/retrieve the selectedToolchainaccording to that.That looks wrong and should be simplified.
Affects: 4.0.0-rc-3
Issue Links: