We successfully perform sonar analysis with SQ-4.5.4 without any problems. Unexpectedly, starting from a couple of days, our sonar assembly does not work with an error message:
It does not index any source file, even if it found them. We did not make any changes to our pom.xml or project structure. I'm not sure why it adds "build / sonar" to the base directory path that I mentioned in pom.xml for the project’s base directory. I tried to give a relative path, but still the problem is reproducing.
[INFO] [14:03:23.298] Base dir: /opt/customer/ci_workspace/sonar/10.1.0/TN/build/sonar
[INFO] [14:03:23.302] Source encoding: ISO-8859-1, default locale: en_US
[INFO] [14:03:23.304] Index files
[WARN] [14:03:24.008] File '/opt/customer/ci_workspace/sonar/10.1.0/TN/access/Application/src/com/panther/ph/access/persistence/cocobase/AccessBP.java' is ignored. It is not located in module basedir '/opt/customer/ci_workspace/sonar/10.1.0/TN/build/sonar'.
I mentioned below property in my pom.xml
"/Opt/client/ci_workspace/sonar/10.1.0/TN ../../access/Application/CSI"
source
share