Skip to content

Add flatten-maven-plugin for Sonatype Central Portal#284

Merged
codefromthecrypt merged 1 commit intomasterfrom
maven-flatten
Mar 24, 2026
Merged

Add flatten-maven-plugin for Sonatype Central Portal#284
codefromthecrypt merged 1 commit intomasterfrom
maven-flatten

Conversation

@codefromthecrypt
Copy link
Copy Markdown
Member

@codefromthecrypt codefromthecrypt commented Mar 24, 2026

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

@codefromthecrypt codefromthecrypt merged commit bf0b96c into master Mar 24, 2026
3 checks passed
@codefromthecrypt codefromthecrypt deleted the maven-flatten branch March 24, 2026 10:08
@codefromthecrypt
Copy link
Copy Markdown
Member Author

gonna retry the release

@codefromthecrypt
Copy link
Copy Markdown
Member Author

yay https://github.com/openzipkin/zipkin-reporter-java/actions/runs/23484050631/job/68334874798

codefromthecrypt added a commit to openzipkin/zipkin that referenced this pull request Mar 24, 2026
codefromthecrypt added a commit to openzipkin-contrib/zipkin-otel that referenced this pull request Mar 24, 2026
codefromthecrypt added a commit to openzipkin/zipkin-finagle that referenced this pull request Mar 24, 2026
codefromthecrypt added a commit to openzipkin/zipkin-dependencies that referenced this pull request Mar 24, 2026
codefromthecrypt added a commit to openzipkin/brave that referenced this pull request Mar 24, 2026
@shakuzen
Copy link
Copy Markdown
Member

I'm late, but LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants