Commit Graph

116 Commits

Author SHA1 Message Date
Guillaume Nodet
1feeb7f13d Regen bash completion 2023-01-27 17:55:47 +01:00
Guillaume Nodet
6b4674e6af Fix executable bit on the mvnd-bash-completion script (#756) 2023-01-24 11:55:36 +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
cc74f52211 Typo 2023-01-06 13:23:03 +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
55236739f8 Add a mvnd.rawStreams property (#719) 2022-12-16 11:33:59 +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
Guillaume Nodet
a14a1eb80f Reformat 2022-11-22 15:44:53 +01:00
Guillaume Nodet
895381b43f Switch to maven 4.0.0-alpha-2 (#718) 2022-11-19 16:56:26 +01:00
Guillaume Nodet
5a8f29cf6f Switch master to 1.0.0-SNAPSHOT 2022-11-19 16:17:44 +01:00
James Z.M. Gao
e50eedf018 Sync entry scripts with maven 3.8.6 (#711) 2022-10-16 21:31:47 +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
5dce72ef33 Add tar.gz binaries in the release (#692) 2022-09-20 10:09:02 +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
77a14f956b Improve Intellij integration, fixes #664 (#684) 2022-09-08 08:00:40 +02:00
Guillaume Nodet
10a5240802 Add missing function for mvnd-bash-completion, fixes #670 (#682) 2022-09-07 14:59:09 +02:00
Guillaume Nodet
b3aeb8899a Revert "Remove unused logback-client.xml file (#603)" (#658)
This reverts commit 7463d65d56.
2022-06-20 10:32:46 +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
50bfcf8c15 Use maven-mvnd as a distribution name (#638) 2022-05-04 12:02:10 +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
Tamas Cservenak
d2365ee166 Mvnd with file locking (#508)
* Update mvnd to include Maven Resolver 1.7

As mvnd itself is Java8 lang level, it is completely
okay to up resolver to 1.7 (that is java8 as well).
The only reason why Maven 3.8.x CANNOT use resolver
1.7 is that it is still Java7 level.

* Move missing piece to SPI

* Add global exclusions

* Example of mvnd using file locking (of resolver)

* Drop irrelevant

* Upgrade to released 1.7.3

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-04-11 13:29:42 +02:00
Guillaume Nodet
7463d65d56 Remove unused logback-client.xml file (#603) 2022-03-03 13:22:06 +01:00
Guillaume Nodet
10d80d434a Add missing mvnDebug scripts (#605) 2022-03-03 13:21:53 +01:00
Piotr Findeisen
4b4288bef9 Fix user's pronoun in mvnd.properties comment (#585) 2022-01-19 16:00:34 +01: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
bbfe926a57 Next is 0.7.2-SNAPSHOT 2021-12-07 14:15:31 +01:00
Guillaume Nodet
97c587c113 Release 0.7.1 2021-12-07 14:15:27 +01:00
Tamas Cservenak
807409d507 Update mvnd to include Maven Resolver 1.7 (#507)
As mvnd itself is Java8 lang level, it is completely
okay to up resolver to 1.7 (that is java8 as well).
The only reason why Maven 3.8.x CANNOT use resolver
1.7 is that it is still Java7 level.
2021-11-26 17:34:10 +01:00
Guillaume Nodet
5095a50145 Next is 0.7.1-SNAPSHOT 2021-10-20 20:47:52 +02:00
Guillaume Nodet
0ebc71628c Release 0.7.0 2021-10-20 20:47:49 +02:00
Guillaume Nodet
4eda0d54cf Regen bash completion 2021-10-20 08:30:17 +02:00