This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch mvnd-1.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
from 321bbfb4 Lower the CI job timeouts to 20 and 45 minutes
new 6f508c68 Refactor input stream support (fixes #1257) (#1268)
new 62f16951 Fix stdin behaviour when piping to mvnd (#1648)
new e9a32e0d fix: feed real stdin to native mvnd process in
NativeTestClient
new b46827b7 Make prompting work in the daemon (#1303)
new 0c7a1173 Do not report a stdin read timeout as end of input
new 9a518a7f Close the stdin of the native client in the integration tests
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/mvndaemon/mvnd/common/Message.java | 104 +++++++-
.../mvnd/common/logging/TerminalInputHandler.java | 290 +++++++++++++++++++++
.../mvnd/common/logging/TerminalOutput.java | 118 ++-------
.../mvndaemon/mvnd/daemon/DaemonInputStream.java | 204 +++++++++++++++
.../java/org/mvndaemon/mvnd/daemon/Server.java | 78 +-----
.../mvndaemon/mvnd/assertj/TestClientOutput.java | 11 +
.../org/mvndaemon/mvnd/it/InputStreamNativeIT.java | 103 ++++++++
.../{DeleteRepoTest.java => InputStreamTest.java} | 4 +-
.../org/mvndaemon/mvnd/junit/NativeTestClient.java | 23 +-
.../parent => input-stream}/.mvn/.gitkeep | 0
.../src/test/projects/input-stream/pom.xml | 85 ++++++
.../java/org/apache/maven/its/CountBytesMojo.java} | 41 ++-
.../main/java/org/apache/maven/its/EchoMojo.java} | 53 ++--
13 files changed, 887 insertions(+), 227 deletions(-)
create mode 100644
common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalInputHandler.java
create mode 100644
daemon/src/main/java/org/mvndaemon/mvnd/daemon/DaemonInputStream.java
create mode 100644
integration-tests/src/test/java/org/mvndaemon/mvnd/it/InputStreamNativeIT.java
copy
integration-tests/src/test/java/org/mvndaemon/mvnd/it/{DeleteRepoTest.java =>
InputStreamTest.java} (88%)
copy integration-tests/src/test/projects/{new-managed-module/parent =>
input-stream}/.mvn/.gitkeep (100%)
create mode 100644 integration-tests/src/test/projects/input-stream/pom.xml
copy
integration-tests/src/test/projects/{invoker/src/main/java/org/mvndaemon/mvnd/test/invoker/hello/HelloMojo.java
=> input-stream/src/main/java/org/apache/maven/its/CountBytesMojo.java} (58%)
copy
integration-tests/src/test/projects/{invoker/src/main/java/org/mvndaemon/mvnd/test/invoker/hello/HelloMojo.java
=> input-stream/src/main/java/org/apache/maven/its/EchoMojo.java} (59%)