Build is Failed when we are building Mock MDS, getting error related to plugin “org.apache.maven.plugins:maven-gpg-plugin:1.5:sign” .
We have tried both master & 126.96.36.199 branch and used .p12 file inside the Keys folder to generate the certificate and added certificate path in application.properties .
When we skip this Plugin build is successful but getting Error: “Could not find or load main class io.mosip.mock.sbi.test.TestMockSBI” when we run the Jar or batch file in target folder .
Avra (NSDL E-Gov)
Regarding the mock mds error you are getting related to the plugin while setting it up in your system locally, our registration client expert @Anusha_sunkadh or @HimajaDhanyamraju2 will look into this and help you out, on how to proceed further.
use below command to build:
mvn clean install -Dgpg.skip=true
Once the build is successful, Go to the “target” directory and execute run.sh or run_reg.bat
if you still face the issue, you can try altering the sequence of -cp argument as below: