gnodet commented on issue #13461:
URL: https://github.com/apache/maven/issues/13461#issuecomment-7142022760

   Hi @ayush-builds-stuff, thanks for the interest!
   
   To answer your questions:
   
   1. **Target branch**: Yes, `master` is the right target.
   
   2. **`DefaultProject` inversion (#13467 vs #13461)**: The two issues do 
overlap here. I'd suggest tackling the `DefaultProject` inversion as the 
**first step of #13461** rather than a separate PR under #13467 — it's the 
natural foundation for the builder migration and the sequencing makes the work 
self-contained. Feel free to reference #13467 in the PR, but keep the work 
under this issue.
   
   3. **Incremental PRs**: Absolutely, incremental PRs are the right approach 
for something this large. Your proposed starting point (immutable `Project` 
snapshots + `MutableProject` holder + compat tests for `MavenProject`) sounds 
like a solid first slice. That foundation needs to land before the builder 
logic can be moved.
   
   4. **Mapping `Project` snapshot → `MutableProject` holder**: No hard design 
decision has been made yet — a proposal in the first PR is exactly the right 
place to nail that down. My current thinking is that `MutableProject` would 
hold a plain `AtomicReference<Project>` and the lookup would go through 
`ProjectManager` (which already has the right scope), but I'm open to 
alternatives if you see a cleaner approach.
   
   Looking forward to the first PR!


-- 
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]

Reply via email to