Repository navigation
Tags
Tags
fix(ci): bump central-publishing-maven-plugin to 0.12.0
Publishing 1.9.0 to Maven Central failed validation:
Bundle has content that does NOT have a .pom file: com/tinify/tinify
The runner image ships Maven 3.10.0, which writes maven-metadata-local.xml
and _remote.repositories into the local repository layout the plugin
stages from. 0.7.0 bundles them as-is, so the uploaded zip contains
com/tinify/tinify/maven-metadata-local.xml -- a file at the artifact
level with no version directory and therefore no .pom beside it, which
is exactly what Central reports.
Reproduced with Maven 3.10.0 against this pom: the staging tree gains
maven-metadata-local.xml and _remote.repositories. The same build under
Maven 3.9.15 is clean, which is why this never showed up locally.
0.12.0 strips them before bundling:
Pre Bundling - deleted .../com/tinify/tinify/maven-metadata-local.xml
Pre Bundling - deleted .../com/tinify/tinify/1.9.0/_remote.repositories
Pre Bundling - deleted .../central-staging/.locks
leaving the 20-file bundle Central expects, the same shape as 1.8.8.
Also passes --show-version so the Maven version is in the log; its
absence is what made this take a while to pin down.
PreviousNext