Solved
Sonar configuration on Cloud Manager pipeline
Hi everybody.
I am trying to add a folder with frontend files to sonar analysis scope. However, using properties on pom.xml doesn't make any difference:
<properties>
<sonar.sources>src/main</sonar.sources>
</properties>
<sonar.sources>src/main</sonar.sources>
</properties>
I added this to my pom.xml, but i found in my logs something about properties being removed because a conflict.
[main] [INFO] Scanning projects to remove conflicting properties...
.
.
[main] [INFO] Removing property keys [sonar.sources].
This does not happen in my local environment, just in the cloud manager pipelines. I use the same maven version (3.6.0) that i found in the pipelines's logs.
Now, i am trying to understand why it is removing my config? And if there is a way to get around this? I have tried some different ways of configuration, but with no success. Any help will be appreciated.
Thanks in advance.