gnodet commented on code in PR #13233:
URL: https://github.com/apache/maven/pull/13233#discussion_r4070920266


##########
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java:
##########
@@ -481,9 +481,9 @@ public Collection<Phase> phases() {
                                                     after(TEST_COMPILE),
                                                     after(TEST_RESOURCES),
                                                     dependencies(SCOPE_TEST, 
READY))),
-                                    phase(INTEGRATION_TEST)),
-                            phase(INSTALL, after(PACKAGE)),
-                            phase(DEPLOY, after(PACKAGE)))));
+                                    phase(INTEGRATION_TEST, after(BUILD))),
+                            phase(INSTALL, after(VERIFY)),
+                            phase(DEPLOY, after(VERIFY)))));

Review Comment:
   Fixed in ea92e8327b: added two ITs to `MavenITmng13230SkipPhasesTest`:
   - `installPhaseRunsVerifyWithNewDag` — asserts that `mvn install` now runs 
surefire (via `verify`), confirming the DAG change.
   - `installWithSkipVerifySkipsVerifyMojos` — asserts that `mvn install 
--skip-phases=verify` still succeeds but suppresses surefire, confirming users 
can opt out.



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