JS Quality Profile not used on Maven project

Building my project containing java, xml and javascript files on SonarCloud. I expect to see these quality profiles configured, but I only have java and xml quality profile. How can I add a javascript profile to my project?

Hi Sébastien,

You don’t see a javascript profile, because no javascript files were analyzed.
I see you’re using the maven scanner, and by default the source code is retrieved from the default Maven source code location.
As your javascript code is located under src/main/resources/META-INF/resources/, it is not analyzed.

I suggest you to add the properties sonar.sources with value “src” on your pom.xml, it should resolve your issue