Commit 721bb3d
Pin Maven to 3.8.8 for Java 11 compatibility (#104)
* Pin GitHub Actions runners to ubuntu-22.04
The ubuntu-latest runner switched from Ubuntu 22.04 to Ubuntu 24.04
on Jan 17, 2025, which includes Maven 3.9.12. Maven 3.9.6+ enforces
stricter Java prerequisites for plugins.
While quarkus-maven-plugin 3.6.9 requires Java 17 to execute, our
codebase uses Datastax Cassandra Driver 3.7.2 (from path-mapped-storage)
which only supports Java 8-11. Upgrading to Datastax Driver 4.x would
be a major migration.
Pinning to ubuntu-22.04 keeps us on an older Maven version that doesn't
enforce the plugin Java requirement as strictly, allowing builds to
continue on Java 11.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Install Maven 3.8.8 explicitly to avoid Java 17 requirement
Maven 3.9.0+ enforces stricter Java prerequisites for plugins.
The quarkus-maven-plugin:3.6.9 requires Java 17 to execute when
used with Maven 3.9.x, even though it's compiled for Java 11.
Maven 3.8.8 (last pre-3.9 version) doesn't enforce this check,
allowing the build to work with Java 11.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 788dc8f commit 721bb3d
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
0 commit comments