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]

Reply via email to