I could see in your action logs that you're using Maven 3.10, which
means you're probably running into the issues described at
https://lists.apache.org/thread.html/6mn9yh5mj9bcfsbb4bkoxw2m5vybyjyk.
If you cannot wait for a newer version of the plugin, you probably need
to (temporarily) change your job to use a different Maven. Unfortunately
that cannot be done using the actions/setup-java action, see
https://github.com/actions/setup-java/issues/457. There is a comment
that suggest using https://github.com/s4u/setup-maven-action instead.
Alternatively, use a Maven wrapper added to your repository.
On 14/10/2026 04:54, Maxim Solodovnik wrote:
this error seems to be from `central-publishing-maven-plugin`
I would check
- if most recent version of plugin is used
- manually unpack the archive being uploaded to
https://central.sonatype.com and check the contents
On Wed, 14 Oct 2026 at 01:11, Steinar Bang <[email protected]> wrote:
I am trying to do a deploy to central portal from a github actions
workflow
https://github.com/steinarb/jdbc/blob/master/.github/workflows/jdbc-maven-release-ci-build.yml
The workflow fails when trying to deploy the BOM (which has been
detached from the maven pom parent by flatten-maven-plugin):
https://github.com/steinarb/jdbc/actions/runs/38435265512/job/115427465409#step:6:412
The error message is:
[INFO] Generate checksums for dir: no/priv/bang/jdbc/jdbc-bom/1.4.0
[INFO] Going to create
/home/runner/work/jdbc/jdbc/target/central-publishing/central-bundle.zip by
bundling content at /home/runner/work/jdbc/jdbc/target/central-staging
[INFO] Created bundle successfully
/home/runner/work/jdbc/jdbc/target/central-staging/central-bundle.zip
[INFO] Going to upload
/home/runner/work/jdbc/jdbc/target/central-publishing/central-bundle.zip
[INFO] Uploaded bundle successfully, deployment name: Deployment, deploymentId:
e2bb252a-361e-44d8-ac08-35cc3681762a. Deployment will publish automatically
[INFO] Waiting until Deployment e2bb252a-361e-44d8-ac08-35cc3681762a is
validated
[ERROR]
Deployment e2bb252a-361e-44d8-ac08-35cc3681762a failed
common:
- Bundle has content that does NOT have a .pom file:
no/priv/bang/jdbc/jdbc-parent, no/priv/bang/jdbc/jdbc,
no/priv/bang/jdbc/jacoco-coverage-report, no/priv/bang/jdbc/jdbc-bom,
no/priv/bang/jdbc/jdbc.sqldumper, no/priv/bang/jdbc/jdbc.datasourceproxy
Why are the other projects mentioned when the failure is in jdbc-bom?
(And I am quite sure they all have pom files!)
I note that the error message is similar to this error, would downgrade
mvn work for me as well?
https://lists.apache.org/thread.html/1trdtdct2glycrzqo6xhbryns5o5pxno
Are there any other obvious things I could try?
I tried adding "-e -X" to the mvn command to get more debug info, but
the result was mostly noise:
https://github.com/steinarb/jdbc/actions/runs/38436279440
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]