Commit Graph

97 Commits

Author SHA1 Message Date
Tamas Cservenak
d862b2ec12 Fix workflow (#1416)
On master it doubles CI jobs for all in-repo
PRs (as it is push but also PR).
2025-09-08 16:35:28 +02:00
dependabot[bot]
a12ffebccf Bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 21:04:42 +02:00
dependabot[bot]
fd5db0f893 Bump actions/download-artifact from 4 to 5
Some checks failed
Early Access / Default build (without GraalVM) (push) Has been cancelled
Early Access / Build with GraalVM on macos-13 (push) Has been cancelled
Early Access / Build with GraalVM on macos-latest (push) Has been cancelled
Early Access / Build with GraalVM on ubuntu-latest (push) Has been cancelled
Early Access / Build with GraalVM on windows-latest (push) Has been cancelled
Early Access / Site build (push) Has been cancelled
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 23:43:38 +02:00
dependabot[bot]
a8bad05aa2 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 23:43:17 +02:00
Slawomir Jaranowski
a9efc78bec Improve configuration for dependabot in 1.x branch
Some checks failed
Early Access / Default build (without GraalVM) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (macos-13) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (macos-latest) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (ubuntu-latest) (push) Waiting to run
Early Access / Build with GraalVM on ${{ matrix.os }} (windows-latest) (push) Waiting to run
Early Access / Site build (push) Waiting to run
Stale / stale (push) Has been cancelled
- add 'dependencies' label
- check GitHub Action in 1.x
2025-06-07 00:55:39 +02:00
Tamas Cservenak
8ffd2f0a34 Mimir: make sure JGroups is not running (#1320)
We don't need it. Config copied from Maven.

For this to work (user wide extension) I upped Maven version to 4.0.0-rc-3 as well, again, same as in Maven CI.
2025-05-10 14:54:13 +02:00
Tamas Cservenak
aaa9c48d16 Upgrade Maveniverse extensions 2025-05-10 12:27:30 +02:00
Gerd Aschemann
cb2c732201 Build Site and fix 1288 (#1289)
Besides a fix for #1288 the change also contains 

* a respective CI build (`mvn ... site`) to detect such problems early in the future
* a simplification for GH CI triggers (build on each push, not only master and PRs)

The latter leads to CI builds for each development change (which is a major purpose of an automatic build and helps in particular for forks/new contributors who cannot issue a automatic build by creating a PR). Having said that, the respective commit could be dropped if there is a good reason not to follow this practice.

Fixes #1288
2025-04-08 10:44:14 +02:00
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