Commit 2f9f8a5
committed
RAMPART-454 Align GitHub Actions CI with axis2-java-core
Adopt the same three-job layout that axis2-java-core uses (build / site /
deploy) and bring the runner/action versions in line:
- Build matrix: Java 17, 21, 25 (was 17, 19), matching the JDK set that
the 2.0.0 release is supported on. Each matrix entry runs
-Dmaven.compiler.release=${{ matrix.java }} so the class file target
actually tracks the JDK under test, not just the baseline.
- runs-on: ubuntu-24.04 (was 22.04).
- Actions: checkout@v6, cache@v5, setup-java@v5.
- Java distribution: temurin (was zulu); centralised via
DEFAULT_JAVA_DISTRIBUTION env var.
- Add BASE_JAVA_VERSION=17 env var for the non-matrix jobs.
New Site job: runs mvn package site-deploy on JDK 17 so that site
regressions (e.g. the javadoc / apidocs aggregator classpath) are caught
in CI instead of on release day.
New Deploy job: gated on push-to-master for the apache/axis-axis2-java-
rampart repository only, needs both build and site to be green, and
pushes SNAPSHOTs to apache.snapshots.https using the NEXUS_USER /
NEXUS_PW secrets (same mechanism as axis2-java-core).
Every job ends by deleting -SNAPSHOT entries from the local Maven cache
so they aren't inadvertently reused between runs when the cache key
matches but the dependency tree has moved underneath.1 parent d24a319 commit 2f9f8a5
1 file changed
Lines changed: 65 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
50 | 74 | | |
51 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
52 | 109 | | |
53 | 110 | | |
0 commit comments