Exlll / ConfigLib

A Minecraft library for saving, loading, updating, and commenting YAML configuration files
MIT License
135 stars 17 forks source link

Publish to maven central #33

Closed rexlManu closed 8 months ago

rexlManu commented 8 months ago

Hi, would it be possible to upload this project also to maven central?

The only requirement is that you verify a namespace (essential a domain or use io.github.).

The benefit would be that spigot plugins can define this lib as library in their plugin.yml and it will be downloaded in runtime. Paper supports different repositories but spigot don't

Exlll commented 8 months ago

Hey, thanks for your suggestion. :slightly_smiling_face:

I have been thinking about that but never really had a reason to. I also own the exlll.de domain, so I assume that I can simply stick with that namespace.

I'm currently working on two other issues, but I'll take care of this one after these unless your request is urgent (?).

rexlManu commented 8 months ago

I have been thinking about that but never really had a reason to. I also own the exlll.de domain, so I assume that I can simply stick with that namespace.

Yes you just have to set a TXT Record that you get from them.

I'm currently working on two other issues, but I'll take of that after or is it urgent?

I already appreciate that fast reply, so no worry it's not urgent.

Exlll commented 8 months ago

I'm a bit confused by Sonatype's documentation. I created an account for the Central Portal and verified the namespace de.exlll but I cannot login to their NXRM with that account. Creating an account for NXRM and publishing to OSSRH seems to be a legacy option as they also started to decomission issues.sonatype.org.

At the same time, the documentation about publishing via the Central Portal involves quite a few manual steps as they don't even have an official Gradle plugin.

Am I missing something here?

EDIT: Alright, I've written a simple script that uses their API. This library should now be available via Maven Central. Could you please confirm that it's working for you, too?