Skip to content

bindings java: publish to maven repo fails #3079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danbev opened this issue Apr 25, 2025 · 3 comments
Open

bindings java: publish to maven repo fails #3079

danbev opened this issue Apr 25, 2025 · 3 comments
Assignees

Comments

@danbev
Copy link
Collaborator

danbev commented Apr 25, 2025

The bindings-java job failed in this run. This task should take a look at why this happened and address the issue.
The specific error is:

* What went wrong:
Execution failed for task ':publishMavenJavaPublicationToMavenRepository'.
> Failed to publish publication 'mavenJava' to repository 'maven'
   > Could not PUT 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/io/github/***/whispercpp/1.4.0/whispercpp-1.4.0.jar'. Received status code 401 from server: Content access is protected by token

Could this perhaps be that Sonatype has moved to a User Token Authentication during the period this CI job was disabled?
In that case perhaps we need to generate a User Token and update the JIRA_USER and JIRA_PASS github secrets.
To do this I think we need to login to the account in https://s01.oss.sonatype.org/#welcome

Another possible cause could perhaps be the moving of the the repo to ggml-org. We should probably update group to io.github.ggml-org. I think this requires that we claim this new group id with Sonatype.

@danbev danbev self-assigned this Apr 28, 2025
@danbev
Copy link
Collaborator Author

danbev commented Apr 28, 2025

@ggerganov Do you have any ideas about this and what the issue might be?
I can't check the github secrets and I don't have access to the Sonatype console to figure this out so I'm a little stuck at the moment.

@ggerganov
Copy link
Member

Not sure. I think we set this up in #944.

But visiting some of the links from that discussion, it seems this repository is being decommissioned: https://central.sonatype.org/faq/what-happened-to-issues-sonatype-org/

Probably it's best to disable this publish workflow.

@danbev
Copy link
Collaborator Author

danbev commented Apr 28, 2025

Not sure. I think we set this up in #944.

But visiting some of the links from that discussion, it seems this repository is being decommissioned: https://central.sonatype.org/faq/what-happened-to-issues-sonatype-org/

Probably it's best to disable this publish workflow.

Thanks, I'll disable it for now and try to take a closer look at those links.

danbev added a commit to danbev/whisper.cpp that referenced this issue Apr 28, 2025
This commit disables the publishing of the Java binding to the Maven
repository.

The motivation for this is that this job was disabled for some time and
recently it was re-enabled, but the publishing of the Java binding
caused the build to fail and needs to be investigated further.

Refs: ggml-org#3079
danbev added a commit that referenced this issue Apr 28, 2025
This commit disables the publishing of the Java binding to the Maven
repository.

The motivation for this is that this job was disabled for some time and
recently it was re-enabled, but the publishing of the Java binding
caused the build to fail and needs to be investigated further.

Refs: #3079
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants