I was using sonar text plugin from here
but it gave error as unsupported sonar version although I am using latest version.
So instead I used sonar text plugin form source https://github.com/gjd6640/sonar-text-plugin and trying to make it work.
Followed steps to include plugin as mvn clean package and pasted jar file to sonarqube->tagerts directory.
On running getting error as “The main branch of this project is empty.”
That text analysis is included out of the box in recent versions of SonarQube. What made you think you needed to install plugins? Can you uninstall them and try again?
I uninstalled the text plugin as instructed. Can we customize text rules from Sonar? Also how can we run text scan for a complete text folder.
What text analysis are you trying to do?
I want to search for particular strings if it exists or not?
That makes sense. Is there a particular language you want to check? Because some languages offer rule “templates” that might help. To see them, go to the Rules page, expand the Template facet and filter on ‘Show Templates Only’.