Commit 2a5f91f
Fix macOS GitHub Actions build failures
Two fixes to resolve macOS build failures in CI:
1. Upgrade setup-java from v1 to v4 with Temurin distribution
- The old v1 action doesn't properly support ARM64 macOS runners
- macos-latest now uses Apple Silicon (ARM64) machines
- v4 automatically detects architecture and installs correct JDK
2. Add MAVEN_OPTS to fix JAXP XML entity size limit errors
- Set maxGeneralEntitySizeLimit, totalEntitySizeLimit, and
entityExpansionLimit to 0 to bypass XML parsing limits
- Prevents "JAXP00010004: The accumulated size of entities
exceeded the limit" errors during p2 repository parsing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 0a5cf95 commit 2a5f91f
1 file changed
Lines changed: 4 additions & 3 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 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments