gnodet opened a new pull request, #14158: URL: https://github.com/apache/maven/pull/14158
Backport of #14156 to `maven-4.0.x`. Add `after(BUILD)` ordering edge to the `VERIFY` phase definition in `DefaultLifecycleRegistry` so that goals bound to the `verify` phase (e.g. `failsafe:verify`, `jacoco:check`) cannot be scheduled before compilation, testing and packaging complete. Cherry-picked from `febffbc63e9c2fd3bec67e8e78fc33fcb1fe4a90`. Conflict: the test file on `maven-4.0.x` had a commented-out `testPlugins()` method at the same insertion point. Resolved by keeping the existing commented block and appending the new `testVerifyPhaseWaitsForBuild()` test after it. Both the fix and the new test pass locally. -- 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]
