Custom jar file getting deleted from plugin folder after sonar gets restarted

java
custom_rules
sonarqube

(Vaibhavi Chavda) #1

Hello,
Can someone please help me with the issue i am facing. After placing custom rule plugin jar file in extensions/plugin folder, restarting sonar removes jar file automatically. Please can someone suggest solution here.

Thanks


(vicky) #2

Hi @Vaibhavi_Chavda,

Please provide more information like:
SQ version
Plugin version


(Vaibhavi Chavda) #3

Sonar java plugin : 5.3.0.1382
Sonar Qube version: 7.1


(G Ann Campbell) #4

Hi,

It’s very strange to me that the jar would be deleted. Does anything about this show up in the logs? Also, what if you drop your plugin in $SONARQUBE_HOME/extensions/downloads instead?

Ann


(Vaibhavi Chavda) #5

Hi,
Tried it but still the same thing happened, sonar deleted the jar file from `$SONARQUBE_HOME/extensions/downloads too.


(G Ann Campbell) #6

Hi,

This is very odd to me. I’m not aware of any mechanism in SonarQube that would be deleting this file. But if there is one, I’m pretty sure it would log something about doing so. Anything in your logs?

Ann