Commit 360d75d
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 42f6742 commit 360d75d
4 files changed
Lines changed: 55 additions & 35 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 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 48 | | |
60 | 49 | | |
61 | 50 | | |
| |||
392 | 381 | | |
393 | 382 | | |
394 | 383 | | |
395 | | - | |
| 384 | + | |
396 | 385 | | |
397 | 386 | | |
398 | 387 | | |
| |||
401 | 390 | | |
402 | 391 | | |
403 | 392 | | |
| 393 | + | |
404 | 394 | | |
405 | | - | |
406 | | - | |
| 395 | + | |
407 | 396 | | |
408 | 397 | | |
409 | 398 | | |
| |||
421 | 410 | | |
422 | 411 | | |
423 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
424 | 417 | | |
425 | 418 | | |
426 | 419 | | |
427 | 420 | | |
428 | 421 | | |
429 | 422 | | |
430 | 423 | | |
| 424 | + | |
431 | 425 | | |
432 | | - | |
433 | | - | |
434 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
435 | 429 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | 430 | | |
446 | | - | |
447 | | - | |
448 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
449 | 437 | | |
450 | 438 | | |
| 439 | + | |
451 | 440 | | |
452 | 441 | | |
453 | 442 | | |
| |||
484 | 473 | | |
485 | 474 | | |
486 | 475 | | |
487 | | - | |
488 | | - | |
| 476 | + | |
| 477 | + | |
489 | 478 | | |
490 | 479 | | |
491 | 480 | | |
| |||
| 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