Commit 1b4e791
authored
build(release): add sources/javadoc jars profile + canonicalise SCM block (D1) (#95)
Wires up Track D1 from the v1.6.5->1.7 readiness taskboard - the first step of the Maven Central pipeline. Two changes, one PR, both prerequisites for Central upload:
1. New 'release' Maven profile activated with -P release. Attaches *-sources.jar (maven-source-plugin 3.3.1 jar-no-fork) and *-javadoc.jar (maven-javadoc-plugin 3.12.0 jar) to the package phase. Javadoc runs with doclint=none + failOnError=false so Lombok-generated members and @internal engine surface don't block a publish; warnings surface quietly. Off by default; default mvnw verify does not pay the ~30s of extra packaging.
2. SCM block canonicalised. Central metadata validator is strict: <connection> now scm:git:https:// (HTTPS, not legacy git://), <developerConnection> now scm:git:ssh://git@github.com/ (canonical SSH URL with git@ user). Matches every Central artefact's POM shape.
Verification:
mvnw -P release -DskipTests package -pl .
-> BUILD SUCCESS (36s)
-> target/graphcompose-1.6.5.jar (19MB)
-> target/graphcompose-1.6.5-sources.jar (18MB)
-> target/graphcompose-1.6.5-javadoc.jar (4MB)
-> Central jar trio complete; ready for GPG signing (D2) and central-publishing wiring (D3).1 parent 2ba7458 commit 1b4e791
2 files changed
Lines changed: 80 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
24 | 42 | | |
25 | 43 | | |
26 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
452 | 453 | | |
453 | 454 | | |
454 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
455 | 515 | | |
456 | 516 | | |
457 | 517 | | |
| |||
0 commit comments