Commit Graph

115 Commits

Author SHA1 Message Date
Guillaume Nodet
c7de207001 Fix fo WSL 2 2021-05-06 18:12:35 +02:00
Guillaume Nodet
585b5a9546 Add the --color option as an alias to -Dstyle.color, fixes #376 2021-04-28 11:53:58 +02:00
Guillaume Nodet
bbbd3a06e8 Merge pull request #391 from Syquel/bugfix/390_token
#390 Restrict usage of mvnd daemons to the current user by utilizing a token check
2021-04-28 09:21:23 +02:00
Guillaume Nodet
b847f602c6 Merge pull request #396 from gnodet/i389
Use a proper property different from the maven-buildtime-extension on…
2021-04-27 14:35:16 +02:00
Guillaume Nodet
fbd4876b9d Fix DaemonRegistry.toString 2021-04-27 14:05:48 +02:00
Guillaume Nodet
5815f7b992 Use a proper property different from the maven-buildtime-extension one, fixes #389 2021-04-12 09:28:31 +02:00
Frederik Boster
784264c087 #390 Restrict usage of mvnd daemons to the current user by utilizing a token check 2021-04-06 20:38:56 +02:00
Peter Palaga
bc4d2e6176 Leverage Maven's -Dstyle.color to avoid coloring instead of stripping
the ASCII codes in the client
2021-03-10 08:07:03 +01:00
Peter Palaga
90cae47f1a Leverage Maven's -Dstyle.color to avoid coloring instead of stripping the ASCII codes in the client 2021-03-10 08:07:03 +01:00
Guillaume Nodet
eb1258f44e Fix display showing more projects than the ones actually active 2021-03-05 13:03:58 +01:00
Guillaume Nodet
7fb15766b1 Fix color output for file / tty #358 2021-02-15 17:15:15 +01:00
Guillaume Nodet
5fea58611b Start numbering the messages at 1
For some unknown reasons, the tests seem to be more satisfied.  It avoid some IOException in the client.
2021-02-12 09:26:45 +01:00
Guillaume Nodet
28de1df47d Avoid possible class loading deadlock 2021-02-12 09:25:34 +01:00
Guillaume Nodet
e2a419a870 Add a a few debug entries to help diagnosing test failures 2021-02-12 09:18:20 +01:00
Guillaume Nodet
92ddff964d Fix loading resources from JVM, fixes #277 2021-01-22 10:58:51 +01:00
Guillaume Nodet
eeb17ee18a Fix duplicate space in the javadoc 2021-01-14 15:03:09 +01:00
Guillaume Nodet
9b4172fd61 Add a bit of doc for the various supported keys, #293 2021-01-09 20:14:11 +00:00
Peter Palaga
7dd3d5da70 NPE after pressing CTRL+B in the client #324 2021-01-08 23:28:17 +00:00
Peter Palaga
ddea5d8ea8 Fixup 143f4f13 Display the daemon id and shorten it a bit #314 2021-01-08 23:07:15 +00:00
Guillaume Nodet
143f4f13ab Display the daemon id and shorten it a bit, fixes #314 2021-01-08 21:50:20 +00:00
Peter Palaga
3eb9d8d41b Fixup 28ffaea Send transfer events to the client for better display #284 2021-01-08 21:38:45 +00:00
Guillaume Nodet
28ffaeaecc Send transfer events to the client for better display, fixes #284 (#313) 2021-01-08 20:28:02 +01:00
Peter Palaga
c6de4dbd9a Right-pad projectIds to improve mojo readability in the threaded view #288 2021-01-06 20:07:39 +00:00
Peter Palaga
fc2c4076a7 Support short variants of boolean properties #279 2020-12-21 21:43:45 +00:00
Peter Palaga
f2cdcf9e5f Maven-like rolling output when the build happens to be linear #269 2020-12-16 19:58:34 +00:00
Peter Palaga
38b7185155 A new daemon is always started on Java 8 #266 #260 #261 2020-12-15 14:20:57 +00:00
Peter Palaga
73dec36bed Yet another attempt to avoid IllegalStateException: Failed to lock offset 0 of .../daemon/registry.bin within 20.0 seconds #102 2020-12-10 21:10:34 +00:00
Peter Palaga
b695b51f05 Bash completion #215 2020-12-10 21:10:34 +00:00
Guillaume Nodet
80c93aabe9 Fix SERIAL command line option
The boolean type cause the following argument to be swallowed
2020-12-10 17:26:33 +01:00
Guillaume Nodet
438e76c370 Completely remove the usage of hardcoded command line options 2020-12-10 10:34:32 +01:00
Guillaume Nodet
8b9ba24713 Make Environment methods related to command line options more homogeneous 2020-12-10 10:34:32 +01:00
Guillaume Nodet
3b13c88c02 Fix daemon logging system 2020-12-10 10:34:32 +01:00
Guillaume Nodet
b6a1f40b1b Add a simple command option to toggle maven-like behavior, fixes #248 2020-12-10 10:34:32 +01:00
Guillaume Nodet
732a8e1a83 Use Environment to deal with command line options 2020-12-10 10:34:32 +01:00
Guillaume Nodet
8eee89e189 Use 0-sized array in toArray 2020-12-10 10:34:32 +01:00
Guillaume Nodet
37da2361a1 Pass the arguments list instead of the add method only 2020-12-10 10:34:32 +01:00
Guillaume Nodet
27528cec37 Use client terminal width to format help 2020-12-08 22:59:31 +01:00
Peter Palaga
e5e2a1cd86 Document --status, --stop and --purge in -h/--help #249 2020-12-08 21:42:02 +00:00
Peter Palaga
3a4d86bc64 Let -h/--help display also mvnd specific options #243 2020-12-08 20:53:22 +00:00
Peter Palaga
87cbcce9e4 mvn -Dmvnd.noBuffering=true has no effect #239 2020-11-27 13:15:13 +00:00
Peter Palaga
63d59257e0 Output revision with -v/--version 2020-11-18 09:13:20 +00:00
Guillaume Nodet
2dc925f501 Fix duration properties passed to the daemon, fixes #225 2020-11-16 15:02:11 +01:00
Guillaume Nodet
cf5c512652 Fix sluggish elapsed time when no build output, fixes #224 2020-11-16 15:02:11 +01:00
Guillaume Nodet
668d4e4526 Clean the names of properties, fixes #221 2020-11-16 15:02:11 +01:00
Peter Palaga
ab85aa1903 Exit code not propagated from the daemon to mvnd client #220 2020-11-15 15:50:32 +00:00
Peter Palaga
0183e6dbe2 Use 7d instead of 1w because we do not support weeks anymore 2020-11-13 19:47:27 +00:00
Peter Palaga
e670334719 Reformat TimeUtils and TimeUtilsTest 2020-11-13 19:47:27 +00:00
Guillaume Nodet
6aa03603ce Rewrite and simplify the TimeUtils class, add a bit of doc on the Environment class, add a unit test 2020-11-13 08:33:49 +00:00
Guillaume Nodet
ca55b244c8 Provide an automatic purge of daemon logs, fixes #196 2020-11-13 08:33:49 +00:00
Guillaume Nodet
7d1c7c072c Use human readable durations instead of milliseconds 2020-11-13 08:33:49 +00:00