Version Issue when server startup

Hi,

Sonarqube v7.7

I have created two seperate jar files for two custom rules developed in java and placed the both jars inside plugins folder. When I tried to start the server, I am getting following error,

Web server startup failed: Found two versions of the plugin Java Custom Rules [javacustom] in the directory extensions/plugins. Please remove one of rule1-1.0-SNAPSHOT.jar or rule2-1.0-SNAPSHOT.jar.

Can anyone tell me how to resolve the issue?

Regards,

hello @AnuragSanagapalli,

when you create your plugin with custom rules you should use unique plugin key for each of them. You can see the example of setting the key in pom.xml here

It works. Thanks @saberduck