Commit Graph

89 Commits

Author SHA1 Message Date
Tamas Cservenak
0c00328d06 [CI] Use Mimir on CI (#1283)
Use Maveniverse Mimir to cache central artifacts. This makes caching way simpler as well. Update Maven used to build to Maven 4.0.0-rc-3 as well.
2025-03-13 13:55:29 +01:00
Slawomir Jaranowski
bec0644d43 Add GitHub issues template 2025-02-17 11:04:38 +01:00
Slawomir Jaranowski
c64c8b850f Add Stale action 2025-02-16 18:45:52 +01:00
Slawomir Jaranowski
c5d390924f Add PR Automation action 2025-02-15 09:36:44 +01:00
Tamas Cservenak
d4d4f23d7d Fixes (#1253)
Seems MSC fork does not allow pushes from users who have commit rights on forked maven-mvnd, so am incorporating @ascheman changes here as well.

This PR is:
* fixes from PR https://github.com/apache/maven-mvnd/pull/1252
* plus fix SO isse (self injected cache)
* plus migrated whole daemon to Maven DI (from javax.inject) except those that override Sisu components
* ported latest Maven changes
2025-02-08 20:55:53 +01:00
Sylwester Lachiewicz
49b7105dad ci: run tests on macos-15 2025-01-10 01:16:15 +01:00
Tamas Cservenak
27258c0e54 Maven Daemon CLIng (#1158)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-10-15 13:05:56 +02:00
Tamas Cservenak
d2b0d31dda Update dependabot
Remove PR limit of 10, and cleanup
2024-09-03 11:17:22 +02:00
Guillaume Nodet
77cca84628 Add dependabot on 1.x branch 2024-07-16 16:55:47 +02:00
Tamas Cservenak
ef981d5f5b Client diag option, GraalVM updates (#1042)
Changes:
* add client --diag option
* update graalvm toolchain
* update GH actions
2024-06-20 17:54:54 +02:00
Tamas Cservenak
446c292709 Port all the mvnd-1.x fixes for release to master (#1027)
Changes:
* Drop CHANGELOG.md and tool, it is confused by two branches (1.x and master).
* Update GH workflows, they now provide all 4 needed binaries
* Release scripts: do NOT push, user will (but remind user)
* native: Makefile and built binaries updated (cross checked with @gnodet )
2024-06-17 20:42:29 +02:00
Tamas Cservenak
1bf0839807 Fix workflow
CI Actions are now triggered two times for some PRs,
once due "pull request" and once due "push".

Limit "push" trigger to two notable branches only.
2024-05-22 15:13:41 +02:00
Guillaume Nodet
a6b275db59 Split Maven 3 and 4 support and switch to version 2.0-SNAPSHOT (fixes #973) (#970) 2024-04-26 10:38:39 +02:00
Tamas Cservenak
8bb26402c1 Cumulative update of GH flow (#950)
Changes:
* Cumulative update of GH flow
* Graal update
* Add concurrency
* Add -V to see what maven is used
* Use same Java version for def build
* Apply @gzm55 advice
2024-04-19 15:23:45 +02:00
Tamas Cservenak
d23e0e88f6 Update to parent POM 42 (#932)
Changes:
* parent POM 42
* unset release where needed (makes com.sun pkg unreachable)
* explicitly index as parent disables "implicit" AP
* remove redundtant stuff
* update dependabot to take care of workflow as well (as mvnd uses own)
2024-04-18 19:40:05 +02:00
Guillaume Nodet
d200409a8c Fix early access builds 2023-05-17 13:23:12 +02:00
Guillaume Nodet
2cd9eafef6 Use macos-11 OS for CI 2023-05-17 10:07:57 +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
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
95aeff2f7b Fix release script 2023-03-22 09:25:52 +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
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ý
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
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
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
Guillaume Nodet
b97f585c09 Bump graalvm version used for early access builds (#794) 2023-02-16 09:10:23 +01:00
Guillaume Nodet
c61540edb6 Use graalvm 22.3.1 and use staging repo for release 2023-01-28 14:24:14 +01:00
Peter Palaga
5cd0f754d5 Publish the binaries produced by the Early Access job again 2023-01-17 15:57:30 +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
c3c8ce1b3b Switch graalvm to 22.3.0 2022-11-23 10:16:36 +01:00
Guillaume Nodet
2f4ff6334a Upload tar.gz along with zip during release 2022-10-04 08:30:35 +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
5dce72ef33 Add tar.gz binaries in the release (#692) 2022-09-20 10:09:02 +02:00
Hervé Boutemy
0092136cea configure execution bit for required scripts in source distribution (#643) 2022-05-11 11:37:21 +02:00
Guillaume Nodet
50bfcf8c15 Use maven-mvnd as a distribution name (#638) 2022-05-04 12:02:10 +02:00
Guillaume Nodet
3877b9dce8 Move back the sha256 computation on the client side 2022-04-29 16:49:14 +02:00
Guillaume Nodet
98d71fa3d7 Put back sha256 computation 2022-04-29 16:23:53 +02:00
Guillaume Nodet
c95c523692 Revert to a working state 2022-04-27 22:05:22 +02:00
Guillaume Nodet
2b3b0decdf Upgrade to auto changelog 1.2 (#621) 2022-04-26 15:44:15 +02:00
Guillaume Nodet
22875857a8 Enable build test but disable release publishing 2022-04-26 13:36:34 +02:00
Guillaume Nodet
b90fbf1f3e Reapply Refactor build and release workflows #574 (#620) 2022-04-26 13:20:45 +02:00
Guillaume Nodet
e8e5ffc4ee Revert 8ae4f16 and subsequent fix attempts 2022-04-11 15:00:17 +02:00
Guillaume Nodet
f8b665e41a Fix CI 2022-04-11 14:13:38 +02:00
Guillaume Nodet
1254ad6f71 Fix CI 2022-04-11 14:08:18 +02:00
Guillaume Nodet
96ac5cd60b Another attempt to fix CI 2022-04-11 13:56:05 +02:00
Guillaume Nodet
b60af6156b Fix CI 2022-04-11 13:44:53 +02:00