BananaPuncher714 / NBTEditor

A single class NBT editor for items, skulls, mobs, and tile entities
MIT License
136 stars 30 forks source link

Maven support? #6

Closed portlek closed 4 years ago

BananaPuncher714 commented 4 years ago

I've considered it, but I don't have any place to host the repository. I've tried to host it directly on github, but it didn't work out for me. I'll try again if I can find somewhere else.

portlek commented 4 years ago

You can store it in the sonatype(maven central) it's free and simple to deploying.

BananaPuncher714 commented 4 years ago

Ok, thank you. I did not know that before. I'll look into it and hopefully upload it soon.

BONNe commented 4 years ago

You can also contact with codemc.org. They have public maven repo for minecraft projects :)

BananaPuncher714 commented 4 years ago

Maven support has been added with Github Packages.

portlek commented 4 years ago

GitHub Packages is not useful actually. Could we upload to maven-central?

BananaPuncher714 commented 4 years ago

I've added NBTEditor to the CodeMC Maven repository. I'll update the README and other sources when I have time. As for Maven central, I'm hesitant about that since NBTEditor currently requires Spigot in the local repository.

<repository>
    <id>CodeMC</id>
    <url>https://repo.codemc.org/repository/maven-public</url>
</repository>
portlek commented 4 years ago

It doesn't matter, you can use NMS with that repository;

<repository>
    <id>nms-repo</id>
    <url>https://repo.codemc.org/repository/nms/</url>
</repository>
<dependency>
    <groupId>org.spigotmc</groupId>
    <artifactId>spigot</artifactId>
    <version>1.15.2-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>
BananaPuncher714 commented 4 years ago

Sure, I'll take another look when I have time and see what stuff I need before uploading.