Fix Maven Central release: add <name> to cn1-ai-* child POMs#5081
Merged
Conversation
Sonatype Central rejected the 7.0.245 release bundle with "Project name
is missing" for 78 of the cn1-ai-* child POMs (mlkit subprojects,
stablediffusion, tflite, whisper). The aggregator POMs carried <name>,
but every common/ios/android/javase/javascript/lib child was missing it.
Maven does not inherit <name> from a parent, so the bundle failed
validation as a unit and nothing reached Maven Central.
Add <name>Codename One AI: ${artifactId}</name> to each affected child
POM, matching the aggregator naming convention. Other publish-required
descriptors (description, url, scm, licenses, developers) are inherited
from the root POM and were not flagged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
Collaborator
Author
|
Compared 47 screenshots: 47 matched. |
Collaborator
Author
|
Compared 122 screenshots: 122 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
Collaborator
Author
|
Compared 118 screenshots: 118 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
Collaborator
Author
|
Compared 122 screenshots: 122 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Project name is missingfor 78 of the newcn1-ai-*child POMs.maven/cn1-ai-*/pom.xml) carried<name>, but everycommon,ios,android,javase,javascript, andlibchild was missing it. Maven does not inherit<name>from a parent, so the whole reactor bundle failed validation as a unit and nothing reached Maven Central.<name>Codename One AI: ${artifactId}</name>to each affected child POM, matching the aggregator naming convention. Other publish-required descriptors (description, url, scm, licenses, developers) are inherited from the root POM and were not flagged by Sonatype.Verification
xmllintxpath check acrossmaven/cn1-ai-*/**/pom.xml: 91 of 91 now have a top-level<name>(was 13 of 91 before).xmllint --noout).Test plan
7.0.246) — Sonatype will not accept a republish of the7.0.245coordinates.Release on Maven Centralworkflow: the central-publishing step should complete validation, and the safety-net poll should confirm the artifact within ~30 min.Website CN1 Version PRworkflow runs to completion (it polls forcodenameone-maven-pluginon Maven Central).🤖 Generated with Claude Code