Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Java project fail to integrate with sonar cloud with SonarScan pipe

Nitesh Tiwari July 13, 2020

Hi Team,

 

My pipeline failed and i got the below error:

 

"our project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property."

Below property I set:

-Dsonar.java.binaries=target/**/*.class

But  i got the error "java.lang.IllegalStateException: No files nor directories matching 'target/**/*.class'"

1 answer

0 votes
khai.tran March 7, 2022

I got the same issue but there is no binaries file in the source code

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events