Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully concurrent builder for Maven 4 #1429

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Feb 27, 2024

This PR aims at defining a complete new lifecycle for Maven 4. This lifecycle is enabled by default for easy testing in this PR, which would be equivalent as running mvn --builder=concurrent -T1C.

Note that the builder is fully concurrent, so that a project may not be executed in a single thread and continuously, rather, all mojos will be scheduled independently. The builder displays a nice summary at the beginning (currently at info level).

Status

  • This PR suffers from bugs MNG-7335, MNG-6843 and all those long standing related bugs. Those come back because the project lock has been disabled. We may need to switch the other way around in maven-core, i.e. make MavenProject wrap Project which is immutable instead.

@gnodet gnodet changed the title Concurrent lifecycle for Maven 4 Fully concurrent builder for Maven 4 Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant