Getting Error while setting up Rule Development Kit

Getting Error while setting up Rule Development Kit. Can anyone please suggest on this.

mvn test -Dtest=“UsernameGeneratorTest”
[INFO] Scanning for projects…
Downloading from data-local: file://C:\Users\U6012354\OneDrive\Documents\Sailpoint IDN\rule-development-kit-main/lib/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.9.2 (absent): Could not transfer artifact org.junit:junit-bom:pom:5.9.2 from/to central (Central Repository:): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 26, column 25
[ERROR] ‘dependencies.dependency.version’ for org.junit.jupiter:junit-jupiter:jar is missing. @ line 50, column 21
@
[ERROR] The build could not read 1 project → [Help 1]
[ERROR]
[ERROR] The project sailpoint:rule-development-kit:1.0-SNAPSHOT (C:\Users\U6012354\OneDrive\Documents\Sailpoint IDN\rule-development-kit-main\pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.9.2 (absent): Could not transfer artifact org.junit:junit-bom:pom:5.9.2 from/to central (Central Repository:): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 26, column 25 → [Help 2]
[ERROR] ‘dependencies.dependency.version’ for org.junit.jupiter:junit-jupiter:jar is missing. @ line 50, column 21
[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] ProjectBuildingException - Apache Maven - Apache Software Foundation
[ERROR] [Help 2] UnresolvableModelException - Apache Maven - Apache Software Foundation

This issue is caused by the SSL certificate that cannot be validated. Usualy to solve it you need to add certificate from CA which issued target certificate into you trust store or list of trusted CAs.

But in RDK, I believe we are mocking the Sailpoint object and running test/assert method on it.
We are not interacting with Sailpoint instance, then how come it is throwing certificate exception?

I think it’s trying to download or org.junit.jupiter:junit-jupiter:jar is missing. as dependency. I would suggest to check how to disable SSL checking temporarly.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.