OvercastNetwork / SportBukkit

CraftBukkit and Bukkit modifications that improve stability and add new features
99 stars 84 forks source link

Can't compile #246

Closed VictorML11 closed 5 years ago

VictorML11 commented 6 years ago

I run "rake" Then an error comes because the repository does not exist anymore.

Any ideas of how to solve it? Could not transfer artifact tc.oc:minecraft-api:pom:1.11-SNAPSHOT from/to pa-snapshots (https://repo.extension.ws/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed: NotAfter: Sat Jul 14 01:54:39 CEST 2018 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

jasoryeh commented 6 years ago

http://github.com/OvercastNetwork/minecaft-api Build that

VictorML11 commented 6 years ago

Sorry @jasoryeh what do you mean by building that? Isn't the problem comming because the repository does not exist? Can you specify me more what should I do?

jasoryeh commented 6 years ago

By building I meant cloning that repo, and running ‘mvn clean install’ in it to attempt to build and install the dependency to your local repository so that in case sportbukkit didn’t find it in public repos, it can find it on your computer.

jasoryeh commented 6 years ago

In your case it looks like a certificate expired and it didn’t want to download the file, so what I mentioned was a workaround

ryantheleach commented 6 years ago

Do you use Avast? Avast has been known to cause issues as it MITM proxies your own connection.

VictorML11 commented 6 years ago

Thanks that is really working. I am resolving all the failed dependencies that way. Thank you very much

jasoryeh commented 6 years ago

It appears the LE certificate for the maven repo expired so that’s why you got that error

Pugzy commented 6 years ago

@jedediah would it be possible to update the SSL on https://repo.extension.ws which would resolve this and other compilation issues on the various OCN repositories. Thanks.

jedediah commented 5 years ago

Certs are updated now. Did that fix it?

Pugzy commented 5 years ago

Managed to compile SportBukkit without any issues.

Can anyone else who had issues previously test this too.

VictorML11 commented 5 years ago

I am getting this error: Error

And with --trace arg:

Error with trace

I do not know how to solve it. Did someone have the same problem?

Pablete1234 commented 5 years ago

Are you running it from the git-bash console?

VictorML11 commented 5 years ago

Are you running it from the git-bash console?

No I wasn't. Thank you very much now it worked fine with git-bash.

I will leave this as open just in case any other person needs help.

Pablete1234 commented 5 years ago

This has been solved, it doesn't make sense to leave this open.