Commit Graph

49 Commits

Author SHA1 Message Date
Peter Palaga
a71033cc94 Remove the superfluous Serializer interface and its implemetation 2020-10-25 11:30:17 +00:00
Peter Palaga
8efcf615d8 Simplify logging 2020-10-23 14:00:16 +02:00
Guillaume Nodet
22f608d5b4 Implement a keep-alive strategy to detect stales connections, fixes #47 2020-10-22 17:44:44 +02:00
Guillaume Nodet
7dbb371a06 Split the long line
Co-authored-by: Peter Palaga <ppalaga@redhat.com>
2020-10-22 16:33:36 +02:00
Guillaume Nodet
35467c4b11 Update daemon/src/main/java/org/apache/maven/cli/DaemonMavenCli.java
Co-authored-by: Peter Palaga <ppalaga@redhat.com>
2020-10-22 16:16:36 +02:00
Guillaume Nodet
af762d5721 Display warning in case of environment mismatch #122 2020-10-22 15:27:38 +02:00
Guillaume Nodet
0656e1337a Use a loopback address instead of 0.0.0.0 2020-10-22 13:39:47 +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
Guillaume Nodet
d773bd378a Grab and redirect standard streams, fixes #100 2020-10-19 13:48:56 +02:00
Peter Palaga
90b4c3522a Fix license header in EventSpyDispatcher 2020-10-17 21:56:19 +02:00
Guillaume Nodet
a9364ac611 Partial revert to fix windows integration test 2020-10-17 00:00:43 +02:00
Guillaume Nodet
2cd6b46d5a Fix problems when reusing artifacts that are part of the build by disabling URL caching and using more atomic operations on the CliPluginRealmCache 2020-10-16 23:38:10 +02:00
Guillaume Nodet
ee17eed282 Fix some logging issues 2020-10-16 23:38:10 +02:00
Guillaume Nodet
2ac9199bd0 Reformat 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
56d5643ff8 Re-layout the distro so that mvn is not in bin #91 2020-10-16 15:41:07 +02:00
Peter Palaga
3984a39dcd Fix license headers 2020-10-16 12:32:46 +02:00
Peter Palaga
68fcf3d733 Merge pull request #89 from gnodet/fix-mvn
Fix mvn
2020-10-14 10:37:32 +02:00
Guillaume Nodet
8f62823e5d Support for the -X / --debug / --quiet arguments on the command line 2020-10-13 17:40:01 +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
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
98ba2e20e3 Replace the jpm library with the jdk ProcessHandle interface, #36 2020-10-02 10:30:27 +02:00
Guillaume Nodet
b99ba8acea Actually remove the project id from the MDC #78 2020-10-01 10:31:20 +02:00
Guillaume Nodet
5135cb0928 The output of modules being built in parallel is interleaved, fixes #78 2020-10-01 10:22:18 +02:00
Peter Palaga
16a93e4a3a CachingProjectBuilder ignored #72 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
e59649d353 Allow <mvnd.builder.rule> entries to be separated by whitespace 2020-08-20 17:33:19 +02:00
Peter Palaga
28d0765667 Let mvnd -v show os name and arch 2020-08-15 12:33:58 +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
156ab7e323 Fix #53 Using MAVEN_HOME may clash with other tools 2020-08-12 11:47:38 +02:00
Peter Palaga
44e29598ff Fixup #49 Could not notify CliPluginRealmCache.
Let's better not compare on realPaths. That would give unexpected
results in situations when something is symlinked into the source tree.
2020-08-12 09:53:58 +02:00
Peter Palaga
7b189160be Fix #49 Could not notify CliPluginRealmCache 2020-08-01 10:53:01 +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
3d397966eb Fix #40 Cannot clean on Windows as long as mvnd keeps a plugin from the tree loaded 2020-07-29 16:56:30 +02:00
Peter Palaga
2159f8b98b Reset the original license header in SmartBuilderImpl.java 2020-07-29 12:10:53 +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
b9c266b995 Fix #33 Maven mojo change ignored 2020-06-30 23:44:35 +02:00
Peter Palaga
43b48b5f86 Allow increasing mvnd.log.level via CLI 2020-06-30 11:24:56 +02:00
Peter Palaga
aeb13b7fcf Properly test the --install feature 2020-06-17 12:37:22 +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
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
Peter Palaga
ea6079b06b Run integration tests with an isolated Mavel local repo and settings.xml 2020-05-29 10:45:21 +02:00
Peter Palaga
97ebe989e1 JUnit 5 extension for testing mvnd 2020-05-28 10:12:25 +02:00
Peter Palaga
7cdb2bafb8 Split parent and daemon modules 2020-03-08 13:23:19 +01:00