slachiewicz opened a new pull request, #763:
URL: https://github.com/apache/maven-invoker-plugin/pull/763

   Adds `invoker.failedGoal`, which pins a failing IT to one goal so that 
`invoker.buildResult = failure` can no longer be satisfied by an unrelated 
failure. The value is a colon separated list of fragments matched in order 
against the `groupId:artifactId:version:goal` coordinates Maven logs, with an 
optional execution id in parentheses, so `maven-enforcer-plugin:enforce` and 
the full coordinates both work. The check reads the `Failed to execute goal 
...` line out of the `build.log` the plugin already owns rather than hooking 
into the forked build, and it is rejected when `invoker.buildResult` is not 
`failure` or when `noLog` disabled the log.
   
   Fixes #503
   
   *This change was created with AI assistance.*


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