Building ID-Authentication Repo

Hi we’re trying to build the ID-Authentication Repo release 1.2.0.1

we’re having an error upon using mvn clean install

[ERROR] Failed to execute goal on project authentication-core: Could not resolve dependencies for project io.mosip.authentication:authentication-core:jar:1.2.0.1-B5-SNAPSHOT: Failed to collect dependencies at io.mosip.kernel:kernel-demographics-api:jar:1.2.0.1-SNAPSHOT: Failed to read artifact descriptor for io.mosip.kernel:kernel-demographics-api:jar:1.2.0.1-SNAPSHOT: The following artifacts could not be resolved: io.mosip.kernel:kernel-demographics-api:pom:1.2.0.1-SNAPSHOT (absent): Could not transfer artifact io.mosip.kernel:kernel-demographics-api:pom:1.2.0.1-SNAPSHOT from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target → [Help 1]

1 Like

Hi @carlvin48, it is because of the SSL certificate validation failure while downloading the dependencies. You need to check with your trust store to see why the certificate is not present. Or you can bypass the ssl certificate validation by using below argument in the maven build command.

 -Dmaven.wagon.http.ssl.insecure=true

Hi @carlvin48

Were you able to solve the issue based on the resolution provided by @LoganathanSekar7627 ? Please let us know if you need further assistance with this or facing any other issues.

Best Regards,
Team MOSIP