Mock MDS is not Running


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 & branch and used .p12 file inside the Keys folder to generate the certificate and added certificate path in .

When we skip this Plugin build is successful but getting Error: “Could not find or load main class” when we run the Jar or batch file in target folder .

Please help.

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,

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 or run_reg.bat

if you still face the issue, you can try altering the sequence of -cp argument as below:


1 Like