How do I run the SonarQube Example Plugin?

Hi everyone,

I’m currently trying to develop my own plugin, so I thought it would be a good idea to start by trying to use the example plugin given in the doc.

I managed to build it with mvn clean package and I put the JAR in the extensions/plugins folder, and I can see it in the Quality Profiles section.

If I understood the whole thing correctly, the plugin should analyze files with “.foo” suffixes, however when I run it in a folder with “.foo” files it ignores them. What did I miss ?

Have a nice day everyone.

UPDATE : It seems like my files are indeed found :

image

But still, on the projects main page : “Project Foo : The main branch of this project is empty.”

I desperately need help with this.