How to resolve " Your project contains .java files"

I receiving the below error on in my sonarqube instance that i run locally as a means to give some assurance that quality of code i’m importing to our project thats been supplied to us from a 3rd party . Not being a java developer i’m not sure how i can resolve this . The source code provided to us does not the have any .class files in it just “from what i can see” a standard java project. Your project contains .java files, please provide compiled classes with property, or exclude them from the analysis with sonar.exclusions property.


You’ll need to build the project before analyzing. You should ask the contractor for instructions on how to do that.