Commit Graph

108 Commits

Author SHA1 Message Date
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
97cde29e84 Allow passing additional jvm args to the daemon, fixes #174 2020-11-06 09:37:08 +00:00
Guillaume Nodet
7e6e127f92 Move some classes from org.apache.maven to org.jboss.fuse.mvnd 2020-11-06 10:04:58 +01:00
Guillaume Nodet
b78d4c6a0a Pass the mvnd.daemon.storage system property to the daemon as it is used to store daemon log events 2020-11-06 10:04:32 +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
Guillaume Nodet
a95ac9e4dc Fail fast if the daemon can not be started, fixes #162 2020-11-02 16:37:15 +01:00
Peter Palaga
96b8730e62 Separate BuildStarted message to avoid serializing via Propertries.[load|write]() 2020-11-01 21:41:26 +00:00
Peter Palaga
8452440c51 Less message classes, more singletons 2020-11-01 15:58:23 +00:00
Peter Palaga
a9e9b7997f More fine grained status on build start 2020-11-01 15:58:23 +00: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
652576332a Next is 0.0.12-SNAPSHOT 2020-10-29 12:10:03 +01:00
Peter Palaga
99eda59ce3 Release 0.0.11 2020-10-29 12:09:57 +01:00
Peter Palaga
a9a3e907ee Improve terminal output
* Say 'Looking for daemon...' straight ahead to elliminate the initial
  lag
* Present 'hidden' threads along with used/max threads instead of
  'n more'
* Print project name in bold even if no mojo is present in the line
* Be consistent about printing project artifactIds in bold also when
  lines are hidden
* The righ status line is present also when lines are hidden
2020-10-28 23:37:44 +00:00
Guillaume Nodet
4dfd9e87ef Upgrade to jline 3.17.1 2020-10-28 15:35:27 +01:00
Guillaume Nodet
e24562c343 Also display diagnostics when the client can not connect to the daemon 2020-10-28 15:34:46 +01:00
Guillaume Nodet
c6b27261db Display the daemon output along the log when diagnosing a daemon failure 2020-10-28 15:34:46 +01:00
Peter Palaga
a805c07a31 ProjectBuildLogAppender not found when starting the daemon #165 2020-10-27 15:20:13 +00:00
Peter Palaga
6cbd5be8b6 Killed or crashed daemon process kept in the registry until mvnd --stop is called #154 2020-10-27 12:28:15 +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
76bdd203de Improve the error message that reports a daemon crash 2020-10-26 23:42:15 +00:00
Guillaume Nodet
433d4144e3 Upgrade to jansi 2.0, fix windows output 2020-10-26 21:59:41 +01:00
Guillaume Nodet
64ab26b987 Add terminal information when displaying the version 2020-10-26 15:23:10 +01:00
Peter Palaga
b78adaf29d Next is 0.0.11-SNAPSHOT 2020-10-26 10:18:21 +01:00
Peter Palaga
29d4380736 Release 0.0.10 2020-10-26 10:18:15 +01:00
Peter Palaga
a248678300 Next is 0.0.10-SNAPSHOT 2020-10-25 17:15:18 +01:00
Peter Palaga
6eb0de84d3 Release 0.0.9 2020-10-25 17:15:18 +01:00
Peter Palaga
a71033cc94 Remove the superfluous Serializer interface and its implemetation 2020-10-25 11:30:17 +00:00
Peter Palaga
02eed95132 wmic process where processid=<pid> get WorkingSetSize returns a value in bytes 2020-10-23 23:09:58 +02: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
aff9d8f222 Merge pull request #125 from gnodet/env-check
Display warning in case of environment mismatch #122
2020-10-22 16:25:25 +02:00
Guillaume Nodet
af762d5721 Display warning in case of environment mismatch #122 2020-10-22 15:27:38 +02:00
Guillaume Nodet
73281d91e0 Better display of the message when creating a new daemon 2020-10-22 15:04:18 +02:00
Guillaume Nodet
682cad96a7 Fix imports 2020-10-22 15:04:18 +02:00
Guillaume Nodet
755dc6b570 Display the java home of the daemon when using "mvnd --status" 2020-10-22 13:40:10 +02:00
Guillaume Nodet
90714f69d5 Do print the information message when creating a new daemon 2020-10-22 13:40:05 +02:00
Guillaume Nodet
0656e1337a Use a loopback address instead of 0.0.0.0 2020-10-22 13:39:47 +02:00
Peter Palaga
59fc315777 Fixup #111 Document the number of utilized cores and use 1 core at least 2020-10-21 15:30:59 +02:00
Peter Palaga
1b18bd4a37 Merge pull request #119 from gnodet/issue-111
Leave 1 processor unused on the daemon by default, fixes #111
2020-10-21 14:42:48 +02:00
Guillaume Nodet
020c4ef5a9 Rename ServerMain to MavenDaemon to be more explicit, fixes #118 2020-10-21 14:15:41 +02:00
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
Peter Palaga
ac10e907e0 Next is 0.0.9-SNAPSHOT 2020-10-19 20:53:12 +02:00
Peter Palaga
1d7b990194 Release 0.0.8 2020-10-19 20:53:06 +02:00
Peter Palaga
854f204b17 Next is 0.0.9-SNAPSHOT 2020-10-19 20:29:24 +02:00