You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/15 23:42:37 UTC
[PR] Add invoker.failedGoal to assert which goal an IT build failed on [maven-invoker-plugin]
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add invoker.failedGoal to assert which goal an IT build failed on [maven-invoker-plugin]
Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on PR #763:
URL: https://github.com/apache/maven-invoker-plugin/pull/763#issuecomment-5704803976
As we execute new Maven instance for each test we can provide a extension with ExecutionListener which collect status of executed goals instead of parsing logs
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add invoker.failedGoal to assert which goal an IT build failed on [maven-invoker-plugin]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz closed pull request #763: Add invoker.failedGoal to assert which goal an IT build failed on
URL: https://github.com/apache/maven-invoker-plugin/pull/763
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org