Commit bf0b96c
authored
Add flatten-maven-plugin for Sonatype Central Portal (#284)
Sonatype Central Portal validates deployed POMs as standalone files,
unlike the old OSSRH/Nexus which resolved Maven properties during
validation. This caused the deploy to fail because child module POMs
contain unresolved
`${project.groupId}`/`${project.version}` and lack inherited metadata
(url, licenses, scm, developers).
This adds `flatten-maven-plugin` with `flattenMode=ossrh` to the release
profile. This produces self-contained POMs with resolved coordinates,
versions, and inlined parent metadata.
Fixes
https://github.com/openzipkin/zipkin-reporter-java/actions/runs/23481323296/job/68325597619
Signed-off-by: Adrian Cole <adrian@tetrate.io>1 parent 8165133 commit bf0b96c
2 files changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
295 | 302 | | |
296 | 303 | | |
297 | 304 | | |
| |||
578 | 585 | | |
579 | 586 | | |
580 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
581 | 612 | | |
582 | 613 | | |
583 | 614 | | |
| |||
0 commit comments