Commit Graph

192 Commits

Author SHA1 Message Date
Guillaume Nodet
3fb67e45d8 Leave 1 processor unused on the daemon by default, fixes #111 2020-10-21 14:10:35 +02:00
Guillaume Nodet
844c54b62d Improve progress display, fixes #112 2020-10-20 11:14:15 +02:00
Guillaume Nodet
c9e3feef11 Tone down logging so that the daemon does not log to the screen by default 2020-10-19 13:48:56 +02:00
Guillaume Nodet
d773bd378a Grab and redirect standard streams, fixes #100 2020-10-19 13:48:56 +02:00
Peter Palaga
e9b92ae65d Isolate the integration tests from the local environment #97 2020-10-17 21:57:30 +02:00
Guillaume Nodet
a73345ea0a No need for the MojoStopped event 2020-10-16 23:38:10 +02:00
Peter Palaga
56d5643ff8 Re-layout the distro so that mvn is not in bin #91 2020-10-16 15:41:07 +02:00
Guillaume Nodet
556aca3603 Add a mvn script and improve mvns display 2020-10-12 21:21:17 +02:00
Guillaume Nodet
f57105875e Fix display (#88)
* Fix problems when not enough lines to display
* Fix out-of-order events that cause problems on the client the display
2020-10-09 17:19:02 +02:00
Guillaume Nodet
ba751ad869 Make sure all log events are displayed when an exception occurs in the daemon 2020-10-07 15:22:17 +02:00
Guillaume Nodet
cd5425a80d Move TerminalOutput into its own class 2020-10-07 15:08:38 +02:00
Guillaume Nodet
e17b1f8b7b Add an option to display log events for a module immediately after it has been built 2020-10-07 14:27:20 +02:00
Guillaume Nodet
dd32f41580 Provide smarter output on the client, fixes #77
All events are directly forwarded to the client.  The client is now responsible for ordering them per project and displaying them if needed.  A thread is now started to read the terminal input with support for '+' to display one more line per project, '-' to display one line less, and 'Ctrl+L' to redraw the display which could become messed if the build messages are a bit unusual (this may require a better fix though).
2020-10-07 13:56:04 +02:00
Guillaume Nodet
6a00419c38 Minor improvements 2020-10-05 12:34:29 +02:00
Guillaume Nodet
98ba2e20e3 Replace the jpm library with the jdk ProcessHandle interface, #36 2020-10-02 10:30:27 +02:00
Peter Palaga
9c1b63eb16 Test BOM edits #9 2020-09-29 12:25:04 +02:00
Peter Palaga
dfba788fc9 Cannot re-use daemon with sdkman java 8.0.265.hs-adpt 2020-09-16 13:38:59 +02:00
Peter Palaga
28d0765667 Let mvnd -v show os name and arch 2020-08-15 12:33:58 +02:00
Peter Palaga
9468e4ae97 Fixup 83dacbf0 Remove --install option 2020-08-14 18:12:51 +02:00
Peter Palaga
6ac2a01c64 Fix #56 Require Java 8+ instead of Java 11+ at runtime 2020-08-14 17:48:54 +02:00
Peter Palaga
ed91924e43 Derive mvnd.home from the location of the running native client if
possible
2020-08-14 15:53:30 +02:00
Peter Palaga
83dacbf0b1 Remove --install option now that we offer a distro containing both client and server 2020-08-14 15:10:56 +02:00
Peter Palaga
156ab7e323 Fix #53 Using MAVEN_HOME may clash with other tools 2020-08-12 11:47:38 +02:00
Peter Palaga
bc3f341dc1 Escape values written to mvnd.properties 2020-07-30 16:00:12 +02:00
Peter Palaga
6b912897b9 Fix #42 mvnd fails if there is no .mvn/ dir in the user home 2020-07-30 12:25:56 +02:00
Peter Palaga
7768ef39bf Reformat the code using mvn clean process-sources 2020-07-29 11:56:23 +02:00
Peter Palaga
41edec19c6 Add missing license headers and mark the origin of overtaken files 2020-07-14 22:28:03 +02:00
Peter Palaga
0d64f525d9 Honor ${maven.home}/conf/logging/logback.xml 2020-06-30 11:23:53 +02:00
Peter Palaga
6c6e4dc13e Download progress 2020-06-21 21:40:41 +02:00
Guillaume Nodet
b7ec982b24 Fix NPE 2020-06-21 22:49:02 +02:00
Peter Palaga
80af2c5ec8 Add -H:EnableURLProtocols=https 2020-06-21 20:06:54 +02:00
Peter Palaga
3107f08b87 Improve environment defaults 2020-06-21 20:04:29 +02:00
Peter Palaga
a1ee662ff9 Add missing license headers 2020-06-18 18:08:27 +02:00
Peter Palaga
aeb13b7fcf Properly test the --install feature 2020-06-17 12:37:22 +02:00
Peter Palaga
3c23c154d7 Let CI deploy the artifacts 2020-06-12 13:11:56 +02:00
Peter Palaga
4b82607d8a Improve client logging 2020-06-11 09:18:29 +02:00
Peter Palaga
c4221f8125 Native tests 2020-06-04 11:37:38 +02:00
Peter Palaga
4565698444 Improve status and daemon selection output 2020-06-05 11:30:40 +02:00
Peter Palaga
823af74874 Replace logback-classic with slf4j-simple in the client get a smaller excutable and easier log config 2020-06-02 13:28:57 +02:00
Peter Palaga
07559a24df Buffer the messages from the server in a queue to avoid jams when the client is slow 2020-06-02 12:09:25 +02:00
Peter Palaga
82a97ac38b Native mvnd client 2020-06-01 12:23:11 +02:00
Peter Palaga
4f2c0fb215 Move client classes into a separate module 2020-05-29 15:42:01 +02:00