wozhenbang2004 opened a new issue, #14120:
URL: https://github.com/apache/maven/issues/14120

   ### Affected version
   
   4.2.0-SNAPSHOT (master 41394fa), Linux, JDK 21
   
   ### Bug description
   
   On Maven 4.2.0-SNAPSHOT (41394fa), a single direct goal from a local test 
plugin throws an exception but `-b concurrent` can report BUILD SUCCESS and 
exit 0. The same goal run with the singlethreaded builder exits 1. I verified 
this both with a POM and with a goal that can run without one.
   
   The concurrent builder should wait for the goal to finish and return a 
nonzero exit status if it fails. The debug log shows project teardown running 
before the goal. A lone goal is both the first and last step, but the plan only 
adds its setup dependency.


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