Commit Graph

1243 Commits

Author SHA1 Message Date
Guillaume Nodet
eef6c2f16f Sort build times for the whole reactor by decreasing total time (#829) 2023-04-06 10:48:16 +02:00
Guillaume Nodet
60af0f0893 Update release scripts 2023-03-31 15:59:56 +02:00
Guillaume Nodet
538a5c1369 Next is 1.0-m7-SNAPSHOT 2023-03-23 10:16:45 +01:00
Guillaume Nodet
47d4c6b9c3 [release] Release 1.0-m6 1.0-m6 2023-03-23 09:59:27 +01:00
James Z.M. Gao
da20df03cd Make native mvnd only require glibc 2.12 on ubuntu 22.04 (#825, fixes #823)
The modern glibc from 2.34 had two breaking changes: move all api in lib{pthread,dl,rt}.so into libc.so, new static start up code breaking the runtime compatibility for old glibc (<2.34). See https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread for more info.

This commit has 3 changes to overcome these changes:
- override gcc path to redefine glibc symbols on the fly in the generated .o by graalvm when linking
- provide a dynamic startup code to support both old and modern runtime glibc
- add needed dynamic libraries: lib{pthread,rt,dl}.so.
2023-03-23 09:02:38 +01:00
Guillaume Nodet
76f8139281 Rename maven-${version}-mvnd-mvn(39|40)-yyy to maven-mvnd-${version}-m(39|40)-yyy and fix release workflow 2023-03-23 08:20:54 +01:00
Guillaume Nodet
bb2dd091a4 Fix release file names for mvn40 2023-03-22 11:25:19 +01:00
Guillaume Nodet
95aeff2f7b Fix release script 2023-03-22 09:25:52 +01:00
Guillaume Nodet
34b7ee35cf Next is 1.0-m6-SNAPSHOT 2023-03-22 08:58:41 +01:00
Guillaume Nodet
71146dab82 [release] Release 1.0-m5 1.0-m5 2023-03-22 08:58:28 +01:00
Guillaume Nodet
89e41a23ec Use system out for build log and sys err for in progress display, fixes #822 (#824) 2023-03-21 14:33:51 +01:00
Guillaume Nodet
56435a05f6 Upgrade to maven 3.9.1 and 4.0.0-alpha-5 and resolver 1.9.7 (#821) 2023-03-20 13:28:07 +01:00
Petr Široký
a59c7cd51c Build on ubuntu:20.04, fixes #812 (#814)
* building on ubuntu:22.04 produces binaries which require too recent glibc
   version (2.32+) and that means the binary no longer works on
   older ubuntu versions, like 20.04 and 18.04.

 * building on ubuntu:20.04 fixes the problem and the binary again works
   on ubuntu 18.04 and 20.04

 * also bumped the version in the release workflow which got forgotten
2023-03-15 18:08:50 +01:00
Guillaume Nodet
eba51d2d7e Fix mvnd home detection based on executable path 2023-03-15 12:43:39 +01:00
Guillaume Nodet
0e65449f59 Reuse maven scripts and get closer to stock maven 2023-03-15 11:29:29 +01:00
Guillaume Nodet
f9c059c694 [MNG-7131] maven.config doesn't handle arguments with spaces in them (backport to mvnd) 2023-03-14 16:19:13 +01:00
Guillaume Nodet
0e057cb12b Make sure mvnd's plexus-interactivity is not in the maven classloader, fixes #807
* the logging framework is extracted into its own jar and moved in the mvn/lib/ directory
* the other daemon jars are moved into the mvn/lib/mvnd directory and not used by maven at all
This makes maven class loader almost identical to the stock maven classloader, but for the logging framework
2023-03-14 13:53:24 +01:00
Guillaume Nodet
4d24010f55 Prompter prompt should not prepend the projectId when there's only one project, fixes #816
Also make sure the daemon prompter log only goes to the daemon log
2023-03-14 13:52:47 +01:00
Petr Široký
10a87b48de Bump GitHub actions version
* currently used versions are deprecated and GitHub is printing
   warnings on the actions page, e.g.
   "Node.js 12 actions are deprecated.
   Please update the following actions to use Node.js 16: actions/checkout@v2,
   actions/upload-artifact@v2."
2023-03-14 11:09:13 +01:00
Petr Široký
e1815e52a3 Minor clean-up in OsUtils
* fix typo in method names
 * add a test for the other *toHumanReadable method
 * replace StringBuilder usage with simple concatenation
   where applicable (for fixed length strings)
2023-03-12 23:08:32 +01:00
Petr Široký
3657375e97 Use String.join() instead of Collectors.joining() where applicable
* the String.join() is more readable and there should not be any
   downsides (like performance or so)
2023-03-12 23:08:32 +01:00
Petr Široký
50653ae7d9 logging: use format specifiers instead of string concatenation 2023-03-12 23:08:32 +01:00
Petr Široký
b0b7115344 Make the default (non-native) build work again (#808)
* Make the default (non-native) build work again

 * the renamed test is supposed to use the native binary, but it was
   being picked up by surefire, because of its name. For non-native builds
   (e.g. without -Pnative) the test would fail as the native
   binary does not exist

* Add GitHub job for for default (non-native) build
2023-03-12 23:07:51 +01:00
Guillaume Nodet
c7fd921e45 Fix mvnd scripts 2023-03-10 17:20:15 +01:00
Guillaume Nodet
f6de618454 Fix JUL logging (#792) 2023-03-10 17:19:42 +01:00
Guillaume Nodet
d771375870 Move back mvn script into the mvn/bin folder to avoid conflicts, fixes #787 (#803) 2023-03-10 12:59:04 +01:00
Guillaume Nodet
c2e4ee2f00 Fix EnvHelper#chDir on JDK 21 (#802) 2023-03-10 10:07:17 +01:00
Guillaume Nodet
65da451ecd Switch back to takari smart builder (#805) 2023-03-10 08:48:08 +01:00
Guillaume Nodet
6e4e9df4a9 Upgrade to jline 3.23.0 (#804) 2023-03-10 08:47:47 +01:00
Guillaume Nodet
2113d61baa Avoid possible NPE, fixes #795 (#806) 2023-03-10 08:47:33 +01:00
Guillaume Nodet
c1fd7e6679 Fix workflow 2023-03-09 13:24:07 +01:00
Guillaume Nodet
0f8b62dd22 Split m39 / m40 binaries during early access build 2023-03-09 13:22:30 +01:00
Guillaume Nodet
738d953812 Split m39 / m40 binaries 2023-03-09 13:20:30 +01:00
Guillaume Nodet
8e4d21047e Fix early access artifacts 2023-03-09 08:47:09 +01:00
Guillaume Nodet
95b40a3d8a Provide distributions for both maven 3.9.x and 4.0.x (#796) 2023-03-08 00:03:49 +01:00
Petr Široký
1f99fb8cb7 Run client connection handler inside new thread, fixes #798 (#801)
* Run client connection handler inside new thread, fixes #798
* Execute CI build on ubuntu-22.04
 * ubuntu-18.04 image is now deprecated and there are brownout periods
   being introduced where the builds are failing
 * see https://github.com/actions/runner-images/issues/6002 for more
   details
2023-03-07 14:16:04 +01:00
Stefan Oehme
0b55c8f3e6 Add property to disable model caching
This is mostly for the integration tests of the Gradle Enterprise Maven extension,
which heavily test dependency resolution and reuse the same GAVs in many test,
e.g. a🅱️1.0. It would be a lot of effort to rewrite all those tests and a shame
to restart the daemon every time. So I wanted to ask if you'd consider this flag
to disable the caching altogether.
2023-03-02 22:42:36 +01:00
Guillaume Nodet
b97f585c09 Bump graalvm version used for early access builds (#794) 2023-02-16 09:10:23 +01:00
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
Guillaume Nodet
d6b8cb1173 Turn off transfer messages when running tests when possible (#790) 2023-02-14 17:06:54 +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
ddc8ef9a10 Remove duplicate header 2023-02-14 16:53:05 +01:00
Guillaume Nodet
3508f0e5a6 Do not use shortened url for sdkman 2023-02-03 07:55:42 +01:00
Guillaume Nodet
b539498e98 Fix homebrew release script for macos 2023-02-01 11:07:54 +01:00
Guillaume Nodet
11c6567bdd Next is 1.0.0-m5-SNAPSHOT 2023-01-28 14:41:03 +01:00
Guillaume Nodet
f01c3ff97a [release] Release 1.0.0-m4 1.0.0-m4 2023-01-28 14:35:11 +01:00
Guillaume Nodet
0f8f67ae5b Ignore tag 2023-01-28 14:33:33 +01:00
Guillaume Nodet
19dca434d1 Fix code style 2023-01-28 14:33:26 +01:00
Guillaume Nodet
8e92805e30 Next is 1.0.0-m4-SNAPSHOT 2023-01-28 14:27:02 +01:00
Guillaume Nodet
35d3e842af [release] Release 1.0.0-m3 1.0.0-m3 2023-01-28 14:26:51 +01:00