Hello
I am having a problem figuring out how to use wildcards with sonar.java.binaries.
Take the following directory structure. Each one contains class files.
dir1/subdirA/target/classes
dir2/subdirA/subdirB/target/classes/subdirC
dir3/subdirD/subdirE/subdirF/classes/subdirG
How can I define a single entry for the sonar.java.binaries path?
I have tried the following below but the scan fails message:
ERROR: No files nor directories matching ‘**/*.class’
sonar.java.binaries is looking for a comma-delimited list of directories, so the *.class part at the end is hurting rather than helping. Also, the documentation for that property doesn’t indicate that it supports wildcards, so if you really do need to list multiple directories I think you’re going to need to do something like this: