Guillaume Nodet
b0ea852798
Fix discovery of mvnd.home using the executable
2023-01-24 11:36:39 +01:00
James Z.M. Gao
6f28a189b6
Try native image then fallback to pure java version ( #717 )
...
* Add script mvnd-auto to auto select native or pure java mvnd
* Move fallback logic into main entry script
1. rename native binary to 'mvnd-native-<os>-<arch>'
2. add environment switch MVND_ENTRY_FALLBACK, default 'true' enables
the fallback logic, set to 'false' to force execute the native mvnd.
3. rename mvnd.sh to mvnd
* change entry name on windows
* Add script mvnd-persist-native for moving the native image to the default entry path
* improve platform detect
* fix error on dash
* rollback default entry to the native image
* use MVND_CLIENT switch to control the selection of mvnd client
* improve comment docs as suggestion
2023-01-24 10:51:56 +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
554e82a6a1
Next is 1.0.0-SNAPSHOT
2022-12-16 12:57:35 +01:00
Guillaume Nodet
7586cf2b0c
[release] Release 1.0.0-m1
2022-12-16 12:08:31 +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
James Z.M. Gao
1249211b49
Build mostly static native image, loose linux glibc requirement to 2.12 ( #730 )
2022-12-13 23:01:31 +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
Guillaume Nodet
5a8f29cf6f
Switch master to 1.0.0-SNAPSHOT
2022-11-19 16:17:44 +01:00
James Z.M. Gao
c94ee72a30
Calculate java home from java command ( #716 )
2022-10-16 20:26:35 +02:00
Guillaume Nodet
f2224cb563
Next is 0.9.0-SNAPSHOT
2022-10-04 09:06:03 +02:00
Guillaume Nodet
2bba2d6a4d
[release] Release 0.8.2
2022-10-04 09:05:56 +02:00
Guillaume Nodet
da369cfe0d
Next is 0.9.0-SNAPSHOT
2022-10-04 07:51:14 +02:00
Guillaume Nodet
a9f7d1156f
[release] Release 0.8.2
2022-10-04 07:51:08 +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
Konrad Windszus
874e26cfe8
Update GraalVM to 22.2.0 ( #689 )
...
* Update GraalVM to 22.2.0
* Upgrade graalvm to 22.2.0 and the maven plugin to its latest version
Co-authored-by: Guillaume Nodet <gnodet@gmail.com >
2022-09-20 10:10:22 +02:00
Guillaume Nodet
309d0c7eff
Next is 0.9.0-SNAPSHOT
2022-09-08 11:39:54 +02:00
Guillaume Nodet
821c6a54a2
[release] Release 0.8.1
2022-09-08 11:39:51 +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
1327fe2af4
Cleanup ( #650 )
...
* Improve reproducibility of builds by using digest on docker images
* Inline the manifest Multi-Release entry
* Remove unused files
* Switch the groupId to org.apache.maven.daemon and use maven parent pom
* Fix distribution
* Fix ITs
* Fix native build for windows
2022-06-15 08:09:12 +02:00
Guillaume Nodet
dddc3e60f1
Next is 0.8.1-SNAPSHOT
2022-05-04 14:22:05 +02:00
Guillaume Nodet
2cfffe23ee
[release] Release 0.8.0
2022-05-04 14:22:01 +02:00
Guillaume Nodet
e3bff92c95
Use sisu apt processor ( #636 )
2022-05-04 10:20:32 +02:00
Guillaume Nodet
ff7bbbe458
Move BuildProperties to the client ( #630 )
2022-05-02 13:13:07 +02:00
Guillaume Nodet
30c41aa8d5
Next is 0.8.1-SNAPSHOT
2022-04-29 17:31:50 +02:00
Guillaume Nodet
709ac3f888
[release] Release 0.8.0
2022-04-29 17:31:45 +02:00
Guillaume Nodet
c1393eac4d
Next is 0.8.1-SNAPSHOT
2022-04-29 16:26:06 +02:00
Guillaume Nodet
0dc83af8f6
[release] Release 0.8.0
2022-04-29 16:26:01 +02:00
Guillaume Nodet
72cb8343d9
Next is 0.8.1-SNAPSHOT
2022-04-29 13:43:13 +02:00
Guillaume Nodet
4e5be51e4f
[release] Release 0.8.0
2022-04-29 13:43:07 +02:00
Guillaume Nodet
73b99b89b1
Next is 0.8.1-SNAPSHOT
2022-04-29 13:25:18 +02:00
Guillaume Nodet
d567f1d140
[release] Release 0.8.0
2022-04-29 13:25:13 +02:00
Guillaume Nodet
dd193f1b6b
Next is 0.8.1-SNAPSHOT
2022-04-27 22:08:56 +02:00
Guillaume Nodet
c1039a6d67
[release] Release 0.8.0
2022-04-27 22:08:52 +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