Skip to content

Unable to use AEM-HTL and default HTML plugin together for scanning HTML files #250

@kbv1875

Description

@kbv1875

Hi.
I am, using Sonarqube Data Center Edition v2025.1.1 (104738).
I am not able to use both HTL and HTML plugin which has their stand rules for scanning HTL and HTML files.
In my project, the extension of the HTL and HTML files are .html.
When i try to scan project having both these HTL and HTML files having the same extension .html, i get the error:
14:08:57.604 ERROR Language of file 'src/app/app.component.html' can not be decided as the file matches patterns of both sonar.lang.patterns.web : {}/.html,/.xhtml,{}/.cshtml,/.vbhtml,{}/.aspx,/.ascx,{}/.rhtml,/.erb,{}/.shtm,/.shtml,{}/.cmp,/.twig and sonar.lang.patterns.htl : {}/{*}.html
6614:08:57.942 INFO EXECUTION FAILURE

--what can be done to overcome this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions