[MNG-8576] Investigate modifying the Toolchain API to be session/project scoped
Open
priority:major
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Guillaume Nodet](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gnt)** opened **[MNG-8576](https://issues.apache.org/jira/browse/MNG-8576?redirect=false)** 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](https://issues.apache.org/jira/browse/MNG-8558) Switch DefaultToolchainManager to Api V4
Contributor guide
Assessment
This issue has not been assessed yet.