# Unable to scan multi language projects

**URL:** <https://community.sonarsource.com/t/unable-to-scan-multi-language-projects/110841>\
**Category:** SonarQube Server / Community Build\
**Created:** [March 11, 2024, 6:31am UTC](https://community.sonarsource.com/t/unable-to-scan-multi-language-projects/110841 "2024-03-11T06:31:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![butammu](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@butammu](https://community.sonarsource.com/u/butammu)\
**Post date:** [March 11, 2024, 6:31am UTC](https://community.sonarsource.com/t/unable-to-scan-multi-language-projects/110841/1 "2024-03-11T06:31:28Z")

</div>

Hi Team,

We are maintaining the both maven and typescript code in single git repository

we are able to scan the maven Project but not typescript code. Could you please provide some information to scan both maven and typescript single time.

Thank you!

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 12, 2024, 9:49am UTC](https://community.sonarsource.com/t/unable-to-scan-multi-language-projects/110841/2 "2024-03-12T09:49:23Z")

</div>

Hey there.

Searching is your friend! Take a look at threads like these:

> [@How to add analysis of JavaScript files to a multimodule Java project?](https://community.sonarsource.com/t/how-to-add-analysis-of-javascript-files-to-a-multimodule-java-project/29405/3):
>
> You are my true hero today! Many thanks. All it took to have a unified analysis was indeed to add this property to the POM file of portal-frontend: \<sonar.sources\>app\</sonar.sources\>. I took this opportunity to also add \<sonar.skip\>true\</sonar.skip\> as a property of those modules that do not contain source code (e.g. packaging modules), so that things would be more sensible.

> [@Analysis JavaScript and Java in one project](https://community.sonarsource.com/t/analysis-javascript-and-java-in-one-project/18204/2):
>
> Hello @Jave-Chen, welcome to the community forum! It is certainly possible to analyse both Java and Javascript code with the Maven scanner. In your case adding \<properties\> \<sonar.sources\>src/js\</sonar.sources\> \</properties\> to the dolphinscheduler-ui/pom.xml should make the the analyser detect your Javascript files as well. Hope that helps, Tom

> [@Sonarqube parameters for multimodule, multilanguage Maven project](https://community.sonarsource.com/t/sonarqube-parameters-for-multimodule-multilanguage-maven-project/94881/4):
>
> Thanks! I wouldn’t reccomend doing that in this case – as it will apply to all modules (and that’s why you’re getting the funky paths). If you have a pom.xml for the /frontend/ directory (I think when you say They are declared in the root pom.xml that means yes), you can adjust sonar.sources specifically for that module. \<properties\> \<sonar.sources\>component\</sonar.sources\> \</properties\>

---

<div class="post-metadata">

**Author:** ![butammu](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@butammu](https://community.sonarsource.com/u/butammu)\
**Post date:** [March 14, 2024, 5:42am UTC](https://community.sonarsource.com/t/unable-to-scan-multi-language-projects/110841/3 "2024-03-14T05:42:16Z")

</div>

Thank you,

After adding the \<sonar.sources\>src\</sonar.sources\>, both java and javascript scan working for us.
