Guillaume Nodet
45496afeae
Make sure to print the completion script to the standard output stream ( fix #785 ) ( #791 )
2023-02-14 17:07:07 +01:00
Stefan Oehme
1bcfc29d45
Make Classworld setup more alike to vanilla Maven ( #784 )
...
Use the plexus Launcher to start the daemon server, just like we would
launch a normal Maven process.
This improves compatibility with any extensions or plugins that assume that
their ClassLoader is a ClassRealm.
2023-02-14 17:06:34 +01:00
Guillaume Nodet
19dca434d1
Fix code style
2023-01-28 14:33:26 +01:00
Guillaume Nodet
4833e6f73f
Discover mvnd.home by looking for the mvnd-daemon jar in lib or lib/ext
2023-01-28 14:15:58 +01:00
Guillaume Nodet
9d9f9c62f2
Workaround for MNG-7673
2023-01-28 02:11:14 +01:00
Guillaume Nodet
e10aecd5f7
Fix displayed version
2023-01-24 18:26:02 +01:00
Guillaume Nodet
b0ea852798
Fix discovery of mvnd.home using the executable
2023-01-24 11:36:39 +01:00
Guillaume Nodet
4f90d558b2
Attempt at moving mvn as first class citizen in mvnd distribution, #392 ( #769 )
2023-01-24 10:50:40 +01:00
Guillaume Nodet
19cc6c42b7
Make connection timeouts configurable, fixes #772 ( #778 )
2023-01-23 19:56:49 +01:00
Guillaume Nodet
f3c336adb9
Fix spotless config to include all java files ( #768 )
2023-01-10 18:39:29 +01:00
Guillaume Nodet
89841adbcb
Upgrade to maven parent 39 and reformat accordingly
2022-12-16 11:38:47 +01:00
Guillaume Nodet
55236739f8
Add a mvnd.rawStreams property ( #719 )
2022-12-16 11:33:59 +01:00
Guillaume Nodet
c91c0e8352
Fix code style
2022-12-16 10:26:29 +01:00
Guillaume Nodet
7a788bb86f
Add an option to specify the debug address and display info when starting ( fixes #737 ) ( #753 )
2022-12-16 08:39:39 +01:00
James Z.M. Gao
f8d047bdae
Use muti-release jar to fallback mvnd-client to original maven ( #722 )
...
* Use muti-release jar to fallback mvnd-client to original maven
The mvnd-client is built to a muti-release jar. The default version of
DefaultClient is compiled against the same target version as the
embedded maven (4.x, so JDK 1.8) which only invoke the MavenCli.main().
The java-11 version is the full qualified mvnd-client.
* update cmd scripts
* embedded maven now works under JDK 1.8
Build SimpleAppender for JDK 1.8 since it is the log appender only
for the embedded maven
Co-authored-by: Guillaume Nodet <gnodet@gmail.com >
2022-12-14 17:41:02 +01:00
Peter Palaga
031c263232
Fixup #716 Calculate java home from java command ( #721 )
...
* Add a test
* Simplify the stream processing
Co-authored-by: Guillaume Nodet <gnodet@gmail.com >
2022-12-14 00:35:10 +01:00
Guillaume Nodet
bc021d0577
Fix daemon JVM start options (follow-up to #749 ) ( #751 )
2022-12-09 23:58:13 +01:00
Guillaume Nodet
a14a1eb80f
Reformat
2022-11-22 15:44:53 +01:00
James Z.M. Gao
c94ee72a30
Calculate java home from java command ( #716 )
2022-10-16 20:26:35 +02:00
Guillaume Nodet
aacd3eb4cc
Handle the multimodule project directory as early as possible in the client ( fixes #694 ) ( #697 )
2022-10-03 22:46:09 +02:00
Guillaume Nodet
c310e3d206
Fix the bash completion template ( #670 , #682 ) ( #698 )
2022-09-30 22:42:27 +02:00
Guillaume Nodet
6cc1770200
System properties should have precedence over environment variables, fixes #675 ( #680 )
2022-09-07 11:01:01 +02:00
Guillaume Nodet
0299a38264
Simplify the InterpolationHelper, use 'env.' to align with maven #676
2022-08-30 11:30:15 +02:00
Guillaume Nodet
8f9e59bab2
Fix code syntax
2022-08-30 09:27:18 +02:00
Guillaume Nodet
449e815973
Missing argument for option -D, fixes #662 ( #679 )
...
Co-authored-by: 核桃 <hetao@2dfire.com >
2022-08-30 09:14:12 +02:00
Guillaume Nodet
5e59c40453
Ability to configure the daemon storage location, fixes #673 ( #678 )
2022-08-29 23:15:15 +02:00
Guillaume Nodet
dc69f258be
Use interpolation when loading properties, fixes #676 ( #677 )
2022-08-29 22:12:15 +02:00
Guillaume Nodet
ff7bbbe458
Move BuildProperties to the client ( #630 )
2022-05-02 13:13:07 +02:00
Guillaume Nodet
eaf0ec3e4a
Use err stream when purging logs during a build, fixes #604 ( #617 )
2022-04-13 10:39:26 +02:00
Guillaume Nodet
62d580b930
Daemon reuse ignores differences in .mvn/jvm.config, fixes #576 ( #580 )
2022-01-13 10:01:33 +01:00
Guillaume Nodet
4c99b52e03
Make sure the maven.home and maven.conf properties are correctly set when the JVM is started, fixes #553
2022-01-11 08:12:18 +01:00
lujiefsi
827c09c51a
Fix stream leak ( #555 )
2022-01-03 08:32:09 +01:00
Guillaume Nodet
06fa4fd227
Fix url cache ( fixes #532 and #527 )
2022-01-03 08:30:41 +01:00
Guillaume Nodet
00a404c2c1
mvnd status output columns are too narrow, fixes #518 ( #522 )
2021-12-06 17:12:59 +01:00
Guillaume Nodet
ad703938ac
Fix client not responding when using help with an output redirection, fixes #519 ( #521 )
2021-12-06 16:40:21 +01:00
Guillaume Nodet
a886562a65
Fix passing options, fixes #515 ( #520 )
2021-12-06 16:18:22 +01:00
Jeff Smits
adbe953463
Add thread stack size (-Xss) option ( #489 )
2021-10-19 11:44:22 +02:00
Guillaume Nodet
dff50ace35
Fix mvnd command line aliases, fixes #490
2021-10-06 15:20:59 +02:00
Guillaume Nodet
30e1747d84
The maven.multiModuleProjectDirectory is badly set when using -f [path-to-pom], fixes #484
2021-10-06 15:18:00 +02:00
Guillaume Nodet
aa89bd64ba
Introduce a SocketFamily instead
2021-08-31 08:44:53 +02:00
Guillaume Nodet
b67ab81c3d
Allow unix domain sockets for client/daemon connection (not used by default)
2021-08-31 08:43:31 +02:00
Guillaume Nodet
df44238c26
Fix the JDK_JAVA_OPTIONS
2021-06-17 17:32:06 +02:00
Guillaume Nodet
d36a226112
The JDK_JAVA_OPTIONS environment variable is not honoured, fixes #429
2021-06-17 13:55:11 +02:00
Guillaume Nodet
4fe532addf
Open java.io and sun.nio.fs
2021-06-15 17:10:03 +02:00
Guillaume Nodet
6a7f172412
Fix the number of cancelled daemons displayed
2021-05-18 15:58:44 +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
Guillaume Nodet
74ebee0697
The update of the environment does not work with jdk 16, fixes #380
2021-03-18 21:57:42 +01: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
7fb15766b1
Fix color output for file / tty #358
2021-02-15 17:15:15 +01:00