kop icon indicating copy to clipboard operation
kop copied to clipboard

[BUG] Failed to upload artifacts to Maven in recent releases

Open BewareMyPower opened this issue 3 years ago • 2 comments

Describe the bug

See https://github.com/streamnative/kop/runs/4746589549?check_suite_focus=true.

Error:  Rule failure while trying to close staging repository with ID "iostreamnative-1043".
Error:  
Error:  Nexus Staging Rules Failure Report
Error:  ==================================
Error:  
Error:  Repository "iostreamnative-1043" failures
Error:    Rule "javadoc-staging" failures
Error:      * Missing: no javadoc jar found in folder '/io/streamnative/pulsar/handlers/kafka-payload-processor/2.9.1.2'
Error:  
Error:  

It causes kafka-payload-processor and oauth-client cannot be uploaded to Maven repository.

To Reproduce

Expected behavior The release workflow should pass.

BewareMyPower avatar Jan 13 '22 03:01 BewareMyPower

The other failed actions are caused by 403 error

https://github.com/streamnative/kop/runs/4631085873?check_suite_focus=true

Error:  Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project pulsar-protocol-handler-kafka-parent: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy failed: 403 - Forbidden -> [Help 1]

https://github.com/streamnative/kop/runs/4655363839?check_suite_focus=true

Error:  Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project pulsar-protocol-handler-kafka-parent: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy failed: 403 - Forbidden -> [Help 1]

BewareMyPower avatar Jan 13 '22 03:01 BewareMyPower

We should also migrate #1018 to master branch for future versions like 2.10.0.

BewareMyPower avatar Jan 17 '22 02:01 BewareMyPower