How do I disable certificate checking in Maven/rake?

0

I'm trying to build this Java program with sudo rake called SportBukkit and it requires downloading some resources from a repository site that has an expired certificate. Since it refuses to download them I can't build the software.

I want to know how I can disable certificate validation or make Maven/Rake trust the repository site so I can compile it.

[ERROR] Failed to execute goal on project sportbukkit-api: Could not resolve dependencies for project tc.oc:sportbukkit-api:jar:1.12.2-R0.1-SNAPSHOT: Failed to collect dependencies at tc.oc:minecraft-api:jar:1.11-SNAPSHOT: Failed to read artifact descriptor for tc.oc:minecraft-api:jar:1.11-SNAPSHOT: Could not transfer artifact tc.oc:minecraft-api:pom:1.11-SNAPSHOT from/to pa-snapshots (https://repo.extension.ws/content/repositories/snapshots): PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Sat Jan 05 10:53:54 MST 2019 -> [Help 1]

Electric Skeleton

Posted 2019-08-03T21:07:58.677

Reputation: 1

No answers