Scanner for Maven: files indexed twice using the "sonar.maven.scanAll"

It seem we got it working.

To avoid the error parent/pom.xml can't be indexed twice,
We moved our sonar settings from parent/pom.xml into our settings.xml
(it seem that since 7.6 we should not put the sonar profile config inside the pom anymore)

Next week we’ll to compare reports more in depth.
But it seem fine so far.

Thanks a lot !

Useful links :

EDIT

Well, what fixed the error was not the fact that we moved the sonar settings outside the pom…
But rather the fact that we modified mvn -f ./parent to mvn -f parent (notice the ./ )
It’s weird, but it works…

2 Likes