Commit 522a90e
committed
Fix CI build failures by replacing external downloads with runtime ZIP extraction
- Remove download-maven-plugin and maven-antrun-plugin from pom.xml files
- Add ZIP files containing only JSON test data (no extra files like Swift, Xcode projects)
- Update JsonTestSuiteSummary.java to extract ZIP at runtime from test resources
- Update JsonSchemaCheckIT.java to extract ZIP at runtime from test resources
- Update DownloadVerificationTest.java to verify actual extracted files
- All 157 json-java21-schema tests pass with new ZIP extraction approach
The solution extracts ZIP files under target/ folder at runtime, eliminating external download dependencies that were causing CI failures.1 parent 78df558 commit 522a90e
File tree
5 files changed
+95
-23
lines changed- json-compatibility-suite/src
- main/java/jdk/sandbox/compatibility
- test
- java/jdk/sandbox/compatibility
- resources
- json-java21-schema/src/test
- java/io/github/simbo1905/json/schema
- resources
5 files changed
+95
-23
lines changedLines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
37 | 65 | | |
38 | 66 | | |
39 | 67 | | |
| |||
85 | 113 | | |
86 | 114 | | |
87 | 115 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
91 | 119 | | |
92 | 120 | | |
93 | 121 | | |
| |||
99 | 127 | | |
100 | 128 | | |
101 | 129 | | |
102 | | - | |
| 130 | + | |
103 | 131 | | |
104 | 132 | | |
105 | 133 | | |
| |||
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
Binary file not shown.
Lines changed: 41 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
29 | | - | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
43 | | - | |
| 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 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
44 | 77 | | |
45 | 78 | | |
46 | 79 | | |
| |||
141 | 174 | | |
142 | 175 | | |
143 | 176 | | |
144 | | - | |
| 177 | + | |
145 | 178 | | |
146 | 179 | | |
147 | 180 | | |
148 | 181 | | |
149 | | - | |
| 182 | + | |
150 | 183 | | |
151 | 184 | | |
152 | 185 | | |
| |||
196 | 229 | | |
197 | 230 | | |
198 | 231 | | |
199 | | - | |
| 232 | + | |
200 | 233 | | |
201 | 234 | | |
202 | 235 | | |
| |||
239 | 272 | | |
240 | 273 | | |
241 | 274 | | |
242 | | - | |
| 275 | + | |
243 | 276 | | |
244 | 277 | | |
245 | 278 | | |
| |||
Binary file not shown.
0 commit comments