I have the fragment of pom.xml which tries to resolve the fitbit dependency:
<repositories>
<repository>
<name>FitBit GitHub Repo</name>
<id>fitbit4j</id>
<url>https://nexus.vanntett.net/content/repositories/fitbit/</url>
</repository>
</repositories>
I am getting the below error:
Failed to collect dependencies at com.fitbit:fitbit4j:jar:1.0.26: Failed to read artifact descriptor for com.fitbit:fitbit4j:jar:1.0.26: Could not transfer artifact com.fitbit:fitbit4j:pom:1.0.26 from/to fitbit4j (https://nexus.vanntett.net/content/repositories/fitbit/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
I used these parameters in eclipse: -Dmaven.wagon.http.ssl.insecure=true - Dmaven.wagon.http.ssl.allowall=true
which didn't work.
Please help.
Thanks