Commit Graph

134 Commits

Author SHA1 Message Date
Guillaume Nodet
4c310c5793 Extract assertions on the registry size into a method 2020-12-10 10:34:32 +01:00
Guillaume Nodet
e8c39062ab Move the code to set system properties to its own method, make sure it's called from JvmTestClient 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
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
dc25d0ca1f Workaround connection resets and other network issues on Azure cloud 2020-12-08 20:53:22 +00:00
Peter Palaga
22b8422cf0 Wait till the process exit completes when killing all daemons 2020-12-08 20:53:22 +00:00
Peter Palaga
3a4d86bc64 Let -h/--help display also mvnd specific options #243 2020-12-08 20:53:22 +00:00
Peter Palaga
11404a09dc Try to avoid IllegalStateException: Failed to lock offset 0 of .../daemon/registry.bin within 20.0 seconds #102 2020-11-18 10:59:35 +00:00
Peter Palaga
032a93c710 Fixup 3009d93 Fix the daemon logs that have disappeared 2020-11-18 09:13:20 +00:00
Peter Palaga
63d59257e0 Output revision with -v/--version 2020-11-18 09:13:20 +00:00
Guillaume Nodet
e07f378fe1 Make sure our CachingProjectBuilder is used, fixes #218 2020-11-17 09:35:19 +01:00
Guillaume Nodet
668d4e4526 Clean the names of properties, fixes #221 2020-11-16 15:02:11 +01:00
Peter Palaga
fa2af29bd4 Output received messages on JVM test failure 2020-11-15 15:50:32 +00: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
575de9aa9a Reproduce #218 pom.xml changes not honored 2020-11-15 15:50:32 +00:00
Guillaume Nodet
7d1c7c072c Use human readable durations instead of milliseconds 2020-11-13 08:33:49 +00:00
Guillaume Nodet
c83f7045d6 Use org.mvndaemon package 2020-11-12 09:22:26 +01:00
Guillaume Nodet
d44e3201e0 Fix the readInputLoop so that messages are all delivered and processed in the main thread 2020-11-12 00:40:26 +01:00
Peter Palaga
66e43362cc Reduce the number of Message subclasses 2020-11-10 20:11:12 +00:00
Guillaume Nodet
0800aeb791 Implement build cancelation, fixes #127 2020-11-10 18:20:03 +00:00
Peter Palaga
03d6d49e7b Client: have just one event queue and one consuming thread #133 2020-11-09 21:00:55 +00:00
Peter Palaga
d409ed7970 Move logback.xml so that it is not seen on its default location by the JVM running the tests 2020-11-06 22:05:52 +00:00
Peter Palaga
cd3e285135 No need to pass a lazy DaemonParameters to DefaultClient 2020-11-06 22:05:52 +00:00
Peter Palaga
838691641b Make DaemonParameters immutable 2020-11-06 22:05:52 +00:00
Guillaume Nodet
2a0ed8f554 Support for interactive prompts, fixes #180 2020-11-06 20:31:27 +01:00
Guillaume Nodet
2deea59978 Fix daemon log file for integration tests 2020-11-06 18:16:29 +01:00
Guillaume Nodet
4030f8b5a4 Refactor usage of properties in the client / daemon, fixes #188 2020-11-05 19:42:46 +00:00
Peter Palaga
bb44e7e509 Await idle before the second execution in ExtensionsNativeIT 2020-11-03 21:37:22 +00:00
Guillaume Nodet
39dff61060 Should support core extensions #114 2020-11-02 16:43:41 +01:00
Peter Palaga
fcce52cbd4 User's preference for -T can be stored as mvnd.threads in ~/.m2/mvnd.properties #132 2020-10-31 23:06:05 +00:00
Peter Palaga
59a9bbad5b mvnd native executable is not passing -Dkey=val to the daemon #157 2020-10-27 10:38:34 +00:00
Peter Palaga
4f78bbcec4 Have unique test project module names 2020-10-23 21:44:55 +01:00
Peter Palaga
8f322e7b0b Split daemon module into daemon and dist #130 2020-10-23 18:14:38 +01:00
Peter Palaga
04fda24982 mvnd --status to display memory usage #129 2020-10-23 17:01:53 +02:00
Peter Palaga
4392dd6b3d Test with two threads at least #128 2020-10-23 14:01:30 +02:00
Guillaume Nodet
22f608d5b4 Implement a keep-alive strategy to detect stales connections, fixes #47 2020-10-22 17:44:44 +02:00
Peter Palaga
ec6280f4f7 Downgrade to maven-surefire-plugin 2.22.2 to avoid weird issues 2020-10-17 00:15:22 +02:00
Peter Palaga
0569045ac8 Disable mrm on the CI 2020-10-17 00:15:22 +02:00
Guillaume Nodet
ee17eed282 Fix some logging issues 2020-10-16 23:38:10 +02:00
Guillaume Nodet
7f902fe0d2 Tone down smart builder logging 2020-10-16 23:38:10 +02:00
Peter Palaga
40947fe037 Test a scenario using mvn #92 2020-10-16 14:34:38 +02:00
Guillaume Nodet
556aca3603 Add a mvn script and improve mvns display 2020-10-12 21:21:17 +02:00
Guillaume Nodet
c455b1ee15 Remove warnings from the build 2020-10-12 20:50:28 +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
Peter Palaga
96a4e701a9 Use takari-local-repository for the main build so that mrm-maven-plugin's writes to the local repo are correct 2020-10-07 09:13:44 +02:00
Guillaume Nodet
ef2bd36214 Use a maven proxy for integration tests to speed them up 2020-10-06 17:22:39 +02:00
Guillaume Nodet
2f27012fd2 Delete the test directory so that we can run "mvn install" without cleaning 2020-10-05 12:32:41 +02:00