# Maven -Dsonar.projectName has no effect

**URL:** <https://community.sonarsource.com/t/maven-dsonar-projectname-has-no-effect/94651>\
**Category:** SonarQube Cloud\
**Created:** [June 26, 2023, 10:50am UTC](https://community.sonarsource.com/t/maven-dsonar-projectname-has-no-effect/94651 "2023-06-26T10:50:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 26, 2023, 1:54pm UTC](https://community.sonarsource.com/t/maven-dsonar-projectname-has-no-effect/94651/2 "2023-06-26T13:54:10Z")

</div>

Hey there.

The project name only takes affect when being set for the main branch. `dev` is probably not your main branch (the branch you land on when you view your main branch in SonarCloud)

---

_[View the full topic](https://community.sonarsource.com/t/maven-dsonar-projectname-has-no-effect/94651)._
