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

Publish artifacts to Maven Central #600

Open
erawhctim opened this issue Oct 14, 2024 · 4 comments
Open

Publish artifacts to Maven Central #600

erawhctim opened this issue Oct 14, 2024 · 4 comments

Comments

@erawhctim
Copy link

Any chance you could support this?

jitpack is convenient for library authors but inconvenient for consumers (especially those at large organizations with requirements about artifact hosting).

@neboskreb
Copy link

@kai-morich
I can provide support, if you like.

It will take some emails on your end to register you repo with Maven Central; once that done, I can do the rest of lifting. Let me know.

@erawhctim
Copy link
Author

@kai-morich @mik3y Does migrating to Maven Central seem feasible, or is there some blocker here?

@kai-morich
Copy link
Collaborator

I signed up at sonatype and played around with registering namespaces.
This library uses package com.hoho.android.usbserial for the Java classes.
Do namespaces and package name have to be identical?

As I am not the original author of this library I do not have DNS write access to hoho.com and no full write access to this project, e.g. I cannot store github secrets in this project which are very likely needed for automated integration. Might need involvement of the original author @mik3y

@neboskreb
Copy link

In this case the Java package name can stay com.hoho but the coordinate of the artifact has to change to io.github.mik3y.

If you want automatic publishing of the releases then - yes, it will require installing secrets.

Having only one admin user looks to me a big risk; delegating the admin permissions to at least one more person might be a good idea. What do you think, @mik3y ?

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

No branches or pull requests

3 participants