You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/03/01 14:13:23 UTC

[GitHub] [maven-gpg-plugin] Syquel edited a comment on pull request #9: [MGPG-79] fix handling of external pinentry programs in case the passphrase is not given

Syquel edited a comment on pull request #9:
URL: https://github.com/apache/maven-gpg-plugin/pull/9#issuecomment-787975080


   Unfortunately I am not able to provide a proper test for this scenario, because the bug only occurs if Maven is being run in "interactive" mode and the [maven-invoker-plugin always activates the Maven batch mode](https://github.com/apache/maven-invoker-plugin/blob/a46bf19905ec0560c3119537836b4391e43f44ee/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java#L2085).
   I tried to set `invoker.mavenOpts = -DinteractiveMode=true` in `invoker.properties` and `<interactiveMode>true</interactiveMode>` in `settings.xml` without any success (as expected).
   
   Does someone else have an idea how to implement a test?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org