In intellij (15.0.4) under settings->Maven->Repositories I get an error when clicking update on the companies repositories.
org.apache.maven.wagon.TransferFailedException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I can understand, since it is a self-signed untrusted certificate, however, I have added this certificate to settings->Tools->Server Certificates->Accepted Certificates.
I also added to settings->Maven->Runner->VM Options -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.insecure=true
I still get this problem.
Greatful for a solution.
If the dependencies weren't imported correctly (IntelliJ IDEA highlights them), try to perform the following actions: You can check your local maven repository in the Maven | Repositories settings and try to update it. You can check the jar file of the local . m2 repository to see if it was downloaded correctly.
Update both Maven Importer and Runner in settings to allow all.
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
Runner
Importer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With