I've just upgraded from SonarQube 5.3 to 6.1, and also updated the Java plugin from 3.13 to 4.2.1
Now I'm facing an issue, that the wildcard pattern matching algorithm is probably changed.
In my sonar-project.properties I have configured this:
sonar.java.libraries=lib/**/*.jarThat was working fine for the libraries folder having the jar files in several subfolders.
But now, this pattern is not matching the files directly in the lib folder only in subfolders.
Example: the lib folder has following structure
lib/
lombok.jar
logging/
log4j-1.2.13.jar
mockito/
powermock-mockito-1.6.6-full.jarIn the new version, the lib/**/*.jar is matching only log4j and powermock, but disregarding the lombok.jar. Which means, there are a lot of "Class not found: ..." lines in the sonar log for classes related to the jar files in the lib folder.
If I'm changing that to lib/**.jar, then it works fine.
This is just a workaround, because I think that ** should match
zero or more directory elements, like in ant
paths.
Anybody facing similar issue with wildcard patterns?