goutamadwant opened a new pull request, #13798:
URL: https://github.com/apache/maven/pull/13798
<!--
Please open pull requests against one of the following branches:
- master — default target for all changes (new features + bug fixes).
If the change should also go to maven-4.0.x, request a backport in the PR.
- maven-3.10.x — target for 3.x changes (new features + bug fixes).
If the change should also go to maven-3.9.x, request a backport in the PR.
maven-3.9.x should receive only serious bug fixes, as it is approaching
EOL.
Backports are typically handled by maintainers;
however, after agreement you may open a separate backport PR to the target
maintenance branch.
-->
<!-- Add your description here... what, why and how you resolve the issue -->
Closes #13763.
With `-b concurrent`, lifecycle-bound aggregator goals can run before their
subprojects finish the declared phase. Inherited executions also run in each
subproject.
Schedule these goals in a regular DAG step after the project's and
subprojects' phase completion. This also prevents aggregation after a
subproject failure. Suppress inherited copies when an active reactor ancestor
provides the execution, while preserving explicit subproject/profile bindings
and executions activated from plugin management. Invalidate the cached step
ordering when adding the aggregator step.
Add four integration tests covering phase ordering, subproject failure,
nested profile aggregators, and plugin-management activation. The fixtures also
cover `${revision}` and configuration-only execution overrides.
Validation:
- New integration tests: 4 passed.
- `BuildPlanCreatorTest` and `BuildPlanExecutorTest`: 17 passed.
- Core reactor package build, Checkstyle and RAT passed.
The targeted integration harness ran in-process with ASM 9.10.1 and Jetty
12.1.13 overrides because the declared versions were unavailable locally. The
full `mvn -Prun-its verify` run remains outstanding. Direct command-line
aggregators and forked-lifecycle behavior are outside this change's validation
scope.
---
To make clear that you license your contribution under
the [Apache License Version 2.0, January
2004](https://www.apache.org/licenses/LICENSE-2.0)
check one of the following:
- [ ] I hereby declare this contribution to be licensed under the [Apache
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
- [ ] I hereby declare that I have filed an [Apache Individual Contributor
License Agreement](https://www.apache.org/licenses/icla.pdf).
--
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]