Commit 7174790
committed
ci: migrate to central-publishing-maven-plugin
OSSRH platform was sunset on June 30, 2025 and the recommended way to
publish Maven artifacts is now via 'central-publishing-maven-plugin'.
https://central.sonatype.org/pages/ossrh-eol/
The new Publishing Platform doubles as a staging server and will
verify the artifact's checksums and GPG-signatures.
1. We replace nexus-staging-maven-plugin with
central-publishing-maven-plugin and drop the explicit
<distributionManagement> configuration (we use the plugin's default
configuration).
2. Default settings for 'mvn deploy' is to NOT auto-publish and out wait
until the artifact is 'verified'. We override these in our GitHub CI
to autoPublish=true and waitUntil=published.
This allows testing deployment changes and running mvn-deploy locally
without running a risk of accidentally publishing an artifact.
3. Move ./decrypt_secret.sh to tools/ and add an encrypt_secret.sh
script for convenience
4. Update create-release.yaml GH workflow1 parent 9a70054 commit 7174790
4 files changed
Lines changed: 54 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 42 | | |
54 | 43 | | |
55 | 44 | | |
| |||
366 | 355 | | |
367 | 356 | | |
368 | 357 | | |
369 | | - | |
| 358 | + | |
370 | 359 | | |
371 | 360 | | |
372 | 361 | | |
| |||
375 | 364 | | |
376 | 365 | | |
377 | 366 | | |
| 367 | + | |
378 | 368 | | |
379 | | - | |
380 | | - | |
| 369 | + | |
381 | 370 | | |
382 | 371 | | |
383 | 372 | | |
| |||
395 | 384 | | |
396 | 385 | | |
397 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
398 | 391 | | |
399 | 392 | | |
400 | 393 | | |
401 | 394 | | |
402 | 395 | | |
403 | 396 | | |
404 | 397 | | |
| 398 | + | |
405 | 399 | | |
406 | | - | |
407 | | - | |
408 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
409 | 403 | | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | 404 | | |
420 | | - | |
421 | | - | |
422 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
423 | 411 | | |
424 | 412 | | |
| 413 | + | |
425 | 414 | | |
426 | 415 | | |
427 | 416 | | |
| |||
458 | 447 | | |
459 | 448 | | |
460 | 449 | | |
461 | | - | |
462 | | - | |
| 450 | + | |
| 451 | + | |
463 | 452 | | |
464 | 453 | | |
465 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments