Skip to content
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

Deploy latest Java version to Maven Central #85

Open
leonardehrenfried opened this issue Nov 13, 2024 · 7 comments · May be fixed by #86
Open

Deploy latest Java version to Maven Central #85

leonardehrenfried opened this issue Nov 13, 2024 · 7 comments · May be fixed by #86

Comments

@leonardehrenfried
Copy link
Collaborator

#84 has updated the Java library. For this change to reach its users it needs to be deployed to Maven Central.

It's not clear to me who has the credentials to do so. Maybe @simon04 ?

PS: A version bump should probably also happen.

@simon04
Copy link
Member

simon04 commented Nov 13, 2024

In October 2020, I've applied »Add org.openstreetmap.pbf to Maven Central« via https://issues.sonatype.org/browse/OSSRH-61093

@bretth validated this request (getting OSM-binary published as org.openstreetmap.pbf)?

It seems that now everything has changed, see https://central.sonatype.org/faq/what-happened-to-issues-sonatype-org/ and https://central.sonatype.org/register/central-portal/

@leonardehrenfried
Copy link
Collaborator Author

leonardehrenfried commented Nov 13, 2024

Sonatype have indeed changed the process but it's all for the better. The developer experience, which used to be awful, has much improved when the move to the new Central Portal happened.

I've done the migration for a few of my projects and it's been very smooth.

The new portal now provides actually useful, non-confusing information about the state of your publications. 🤯

@leonardehrenfried
Copy link
Collaborator Author

I'm sorry to be a nag but I would it be possible to find someone who can deploy to Maven Central?

We (the OpenTripPlanner team) rely on this library being updated to the latest version of protobuf-java. We would be very happy to become the official maintainers of it an move it to our Github org and Maven Central group id.

@joto
Copy link
Collaborator

joto commented Nov 18, 2024

@simon04 I don't understand the issues here. Do you have access credentials for Maven Central? From #44 it looks like this worked before.

@simon04
Copy link
Member

simon04 commented Nov 18, 2024

This deploy process is driving me crazy. Like last time. After finding the relevant commands again, I figured out that my GPG keys on my YubiKey have expired. No deployment without GPG signature. And of course, a random temporary newly generated GPG keys does not work since:

No public key: Key with id: (be305ca61bca0480) was not able to be located on https://keys.openpgp.org/. Upload your public key and try the operation again.

https://oss.sonatype.org/#stagingRepositories

Too much outstanding problems for tonight!

@leonardehrenfried
Copy link
Collaborator Author

You need to upload you new key to the server pool, for example:

gpg --keyserver keyserver.ubuntu.com --send-keys $KEY_ID

It needs some time (hours?) to distribute everywhere.

@leonardehrenfried
Copy link
Collaborator Author

leonardehrenfried commented Nov 27, 2024

Hello, it's me again.

If there is anything I can do to help, please let me know.

I'm also happy to become the deployer but I need credentials.

I can also publish it under our (OpenTripPlanner) group id.

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

Successfully merging a pull request may close this issue.

3 participants