Commit Graph

1116 Commits

Author SHA1 Message Date
Guillaume Nodet
15d622e185 Next is 1.0-m8-SNAPSHOT 2023-07-11 07:13:39 +02:00
Guillaume Nodet
b2ef5d8199 [release] Release 1.0-m7 1.0-m7 2023-07-11 06:59:21 +02:00
Guillaume Nodet
cfaeb9fd2e Various upgrades (#869) 2023-07-11 06:33:07 +02:00
Guillaume Nodet
f8adf1b770 Switch to slf4j simple logger (fixes #835) (#868) 2023-07-10 15:16:32 +02:00
Guillaume Nodet
daf68fd925 Update RELEASING.adoc 2023-07-06 14:09:05 +02:00
Guillaume Nodet
c4aaed6909 Fix interpolation of environment variables in config properties (fixes #693) (#866) 2023-07-03 17:36:32 +02:00
Guillaume Nodet
838b720342 Bump to maven-parent 40, maven 3.9.3 and 4.0.0-alpha-7 and maven-resolver 1.9.13 (#858) 2023-07-03 16:27:23 +02:00
Guillaume Nodet
bf981d6ce0 Upgrade to takari-smart-builder 0.6.3 (fixes #841) (#844) 2023-07-03 08:35:00 +02:00
Florian LOPES
5d5fb2fc62 fix(log-typo): Fix minor typo in javaHomeFromPath warn log (#856) 2023-06-16 11:18:13 +02:00
Clay Johnson
0e07a384c4 Add configuration to send build scans to https://ge.apache.org (#810)
* Add configuration to send build scans to https://ge.apache.org

* Add `.mvn` directories to IT tests projects that lack one

Some of the integration tests to do not have `.mvn` directories and
search up the project structure until they find the `.mvn` directory
of the root project.

This change adds `.mvn` directories with empty `maven.config` files so
that the sample projects in VCS will be as close as possible to those
executed during integration testing
2023-06-11 20:30:10 +02:00
Peter Palaga
7d9a39be1a JAVA_HOME should be documented as discriminating #852 2023-05-23 17:30:31 +02:00
Peter Palaga
82e42e6e64 Show which options are discriminating in the output of mvnd --help 2023-05-23 17:30:31 +02:00
Peter Palaga
c177fe220e {@link } JavaDoc refs missing in the output of mvnd --help 2023-05-22 13:35:32 +02:00
Guillaume Nodet
b00e7978a8 Fix broken detection of mvnd home on alpine linux (fixes #849) (#848)
* Fix for musl dynamic loader
* Add caching for mvnd.home and java.home
* Add IT for alpine linux
2023-05-18 07:37:14 +02:00
Guillaume Nodet
d200409a8c Fix early access builds 2023-05-17 13:23:12 +02:00
Guillaume Nodet
6a3448d9c4 NPE during expiration check (fixes #842) (#843) 2023-05-17 12:57:25 +02:00
Guillaume Nodet
8dfc265bd9 Fix version display (fixes #838) 2023-05-17 12:57:03 +02:00
Guillaume Nodet
2cd9eafef6 Use macos-11 OS for CI 2023-05-17 10:07:57 +02:00
Stefan Oehme
dcf8dacfd4 Fix PluginDescriptorCache
The second get-method wasn't actually overloaded, but had a different
signature than the superclass. This resulted in the superclass cache
being filled and never cleared, even when flush is called.
2023-05-11 07:05:42 +02:00
Stefan Oehme
a15abc25df Backport more fixes from mvn40 to mvn39 code 2023-04-06 15:30:16 +02:00
Stefan Oehme
6bcb580529 Add MVND_NO_MODEL_CACHE support to mvn39
Follow-up to #797, which didn't get backported to the mvn39 part of the code.
2023-04-06 15:30:16 +02:00
James Z.M. Gao
99a5cfba7f native image: hardening csu for old glibc (#827)
Workround of return-to-csu problem for old glibc, use non-initialized
static variables instead of the stack ones. See workround 2 of
https://i.blackhat.com/briefings/asia/2018/asia-18-Marco-return-to-csu-a-new-method-to-bypass-the-64-bit-Linux-ASLR-wp.pdf
2023-04-06 10:57:51 +02:00
Guillaume Nodet
5093ced94b Remove plexus-utils and commons-xxx references (#833) 2023-04-06 10:52:45 +02:00
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