In our organization we use internal Artifactory server as maven repository. I have setup the Maven settings accordingly. Problem is when I do Maven > Update
from Eclipse below error is thrown -
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from https://.../artifactory/public was cached in the local repository, resolution will not be reattempted until the update interval of artifactory has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to artifactory (https://.../artifactory/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is what I have tried so far -
keytool
in Java cacerts
. When I run Maven from command prompt it works fine. What am I missing here?