Mock MDS is not Running

Hi,

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 & 1.2.0.1 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 .

Please help.

Regards,
Avra (NSDL E-Gov)

Hi @mosip-guest

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.

Best Regards,
Team MOSIP

Hi Avra,

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:

lib/*;mock-mds-1.2.0.1-SNAPSHOT.jar

1 Like