Commit 3165714
authored
Exclude Multi-Release files from Jackson while shading (#2793)
Cucumber-JVM uses Jackson Databind to write json. Because Jackson is a very
common dependency, to ensure we do not interfere with the system under test,
we shade it.
Unfortunately the Shade plugin occasionally gets updates and now includes
multi-releases. These were not included in the relocation pattern and
result in duplicate classes when Cucumber itself is shaded.
As `cucumber-core` is not a multi-release jar, we can exclude the multi-
release files altogether.
Fixes: #27861 parent b0a4373 commit 3165714
2 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
235 | 241 | | |
236 | 242 | | |
237 | 243 | | |
| |||
253 | 259 | | |
254 | 260 | | |
255 | 261 | | |
256 | | - | |
257 | | - | |
258 | 262 | | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
266 | | - | |
267 | | - | |
268 | 271 | | |
| 272 | + | |
269 | 273 | | |
270 | 274 | | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
274 | 278 | | |
275 | 279 | | |
276 | | - | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
283 | 286 | | |
284 | | - | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| |||
0 commit comments