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 2022/01/10 08:25:18 UTC

[GitHub] [maven-mvnd] gnodet edited a comment on issue #541: Reading standard input from plugins does not work

gnodet edited a comment on issue #541:
URL: https://github.com/apache/maven-mvnd/issues/541#issuecomment-1008630146


   Interactions using the keyboard are currently only supported for maven plugins which use the plexus interaction layer.  The `System.in` input stream is currently not redefined on the daemon, also, the client does read the keyboard and perform specific tasks using the `+`, `-`, `<enter>`, `Ctrl+L` keys, and we'd have to add a mode to switch between local / remote input.  It may be done automatically if we detect the daemon process is trying to read from the input stream, but that's definitely not a trivial thing to implement.
   
   For the stream decoration (i.e., the `[info][stdout]` prependeded to the output), you can use the `--raw-streams` option which should get rid of those.  Ideally, this could be configured in `.mvn/mvnd.properties` but this is currently only a command line option).


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