Error "The main branch of this project is empty."

Hi Team,
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.”

TIA

Regards,
Harsh Singh

Hi Harsh,

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?

 
Ann

Hi,
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.

Hi,

What text analysis are you trying to do?

 
Ann

Hey,
I want to search for particular strings if it exists or not?

Harsh

Hi,

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’.

 
HTH,
Ann