Azanor / Baubles

A mod api that adds 7 bauble slots to the players inventory.
https://minecraft.curseforge.com/projects/baubles
158 stars 116 forks source link

Maven Artifact Repository #266

Open QbDesu opened 6 years ago

QbDesu commented 6 years ago

It would really be nice if you could publish Baubles to a maven artifact repository server. It would make adding and updating it as a dependency a lot easier. If you'd like I'd even gladly host it on my own server. It's running Sonatype Nexus Repo OSS. It's configured for https/TLS already and creating a user configuration for you is no problem. Of course, any server would do, really. I could even help with setting up the build script if you'd like me to. Pretty please... ? ^_^'

Xalcon commented 6 years ago

you could use the curseforge maven. All Projects that are uploaded to curseforge are (in theory) available via their maven. There are a few issues with naming since a lot of projects dont use maven compatible names but baubles is not an issue. A "real" maven server would be nice though since the curse maven is a bit iffy for certain projects.

repositories {
    maven {
        name = "CurseForge"
        url = "https://minecraft.curseforge.com/api/maven/"
    }
}

dependencies {
    compile 'baubles:Baubles:1.12:1.5.2'
}

https://authors.curseforge.com/docs/api

QbDesu commented 6 years ago

Oh my, I've never seen this before. This is great! Thank you a lot! The only thing I could complain about now would be missing sources but that's really the least of problems. Btw. I also found this one http://maven.thiakil.com/com/azanor/baubles/Baubles/ in the Botania. Is this in any way official? Sorry but I don't just want to add the maven repo of somebody unrelated to the project.

Xalcon commented 6 years ago

i wouldnt consider it to be official, not as long as there is no feedback from azanor. For simple deplyoment to curse this should be fine but we dont know how often this maven is updated with new versions. The curse maven on the other hand will update everytime a new version is uploaded.

Daomephsta commented 6 years ago

The CF maven works, but it's really badly set up. I've had the artifact ID change on me literally overnight, and in the same case multiple artifact IDs for different files from the same project (API & full jar). It's also possibly the cause of certain maven deps I have not working with deobfCompile.

So I would really appreciate an official maven for Baubles, as the CurseForge Maven is terrible.

BrainStone commented 6 years ago

I agree. A mod this essential to the modding community should be on a maven!

ADDSynth commented 5 years ago

What!? It's not on an official maven yet? I am shocked! No wonder I couldn't figure out which maven I'm supposed to get it from!

ADDSynth commented 5 years ago

I'd like to remind everyone that MinecraftForge also has a maven themselves:

https://files.minecraftforge.net/maven/

If you're interested, you can check it out. But I don't know anything about how to use it to host files there.

ADDSynth commented 4 years ago

Possibly on a related note but still posting here regardless. I heard once that the developer of Baubles (Azanor) is no longer developing Minecraft mods. However, as a replacement for Baubles, people can use the Curios API for Minecraft versions 1.13 and up. It has similar functionality. And any mod that is on CurseForge can use CurseForge's maven API to automatically download the libraries to use in dev projects. As vast as the mod repository CurseForge is, many developers also get their libraries from there.