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:23:01 UTC

Re: [I] [MINVOKER-339] Don't print or log the plugin's stack trace on verification fail [maven-invoker-plugin]

slachiewicz commented on issue #571:
URL: https://github.com/apache/maven-invoker-plugin/issues/571#issuecomment-5689490623

   The stack trace is Maven's `--errors` output, not something the plugin prints. The shared CI workflow runs `./mvnw --errors --batch-mode ...` ([maven-verify.yml](https://github.com/apache/maven-gh-actions-shared/blob/main/.github/workflows/maven-verify.yml)), and under `-e` Maven dumps the exception of every failing mojo, including the `MojoFailureException` from `invoker:verify`. Without `-e` only the one-line summary appears, and a plugin cannot opt its own failure out of `-e` while keeping it for others. Closing as not a plugin bug. If a trace shows up in a run without `--errors`, reopen with the command line.
   
   *This comment 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