jaqobb / namemc

Lightweight, straightforward, easy-to-use and fast NameMC Java wrapper
Apache License 2.0
24 stars 7 forks source link

Maven repo seems to be dead #3

Closed KarlOfDuty closed 5 years ago

KarlOfDuty commented 5 years ago

Hey, I am not able to connect to the maven repo atm, I get a 522 error when trying to navigate to it in a browser which I assume is how I'm supposed to find the version number.

IntelliJ also appears to have issues connecting to it so there seems to be some issue there even if it isn't supposed to be browsable.

jaqobb commented 5 years ago

Hello, my server was down for some reason and now is up and running, try now and let me know of the results.

KarlOfDuty commented 5 years ago

No, still doesn't seem to work, I get a failed to read artifact error in intellij and just an empty page in chrome for https://repository.jaqobb.dev/maven-public/

jaqobb commented 5 years ago

Can you show me your build.gradle or pom.xml file? I believe you are trying to use a version that is not in the repository.

KarlOfDuty commented 5 years ago

I use 2.0.5 as I found that mentioned in this repo, how can I find which versions are available?

jaqobb commented 5 years ago

List of current dependencies that are present in the repository will be available later. For now you have to open build.gradle.kts file and check the version property. I am asking because it looks like you or someone else was trying to download NameMCAPI 2.4.1 that doesn't actually exist.

KarlOfDuty commented 5 years ago

Right, that was intellij auto-refreshing my pom while I was moving some stuff around.

jaqobb commented 5 years ago

Try one more time with downloading 2.0.5 then because I can't see any logs that may indicate you were trying to download it.

KarlOfDuty commented 5 years ago

Yeah, it appears to work now, I deleted my local cache and it seems to have fixed it.

KarlOfDuty commented 5 years ago

It appears the maven repo is down again.

jaqobb commented 5 years ago

Hey, due to issues I had with my server I decided to move NameMCAPI and DependencyInjector to a different repository (JCenter) that is available 24/7. If you use Gradle, use this:

repositories {
    jcenter()
}

dependencies {
    implementation "dev.jaqobb:namemcapi:2.0.7"
}

In case if you use Maven use this repository instead of my old one (https://repository.jaqobb.dev): https://jcenter.bintray.com/

KarlOfDuty commented 5 years ago

Works, thanks!