[ERROR] Failed to execute goal on project egov-edcr: Could not resolve dependencies for project org.egov.edcr:egov-edcr:jar:2.1.1-SNAPSHOT: Failed to collect dependencies at com.aspose:aspose-cad:jar:20.10: Failed to read artifact descriptor for com.aspose:aspose-cad:jar:20.10: Could not transfer artifact com.aspose:aspose-cad:pom:20.10 from/to AsposeJavaAPI (http://releases.aspose.com/repo/): com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
[ERROR] java.security.cert.CertPathValidatorException: The certificate issued by CN=Starfield Services Root Certificate Authority - G2, O=“Starfield Technologies, Inc.”, L=Scottsdale, ST=Arizona, C=US is not trusted; internal cause is:
[ERROR] java.security.cert.CertPathValidatorException: Certificate chaining error
[ERROR] → [Help 1]
[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] DependencyResolutionException - Apache Maven - Apache Software Foundation
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :egov-edcr
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
getting this error, while building through jenkis. Sharing the repo and dependency that we are using
AsposeJavaAPI Aspose Java API http://releases.aspose.com/repo/</repositories>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cad</artifactId>
<version>20.10</version>
</dependency>