Can Sonarqube analyze a build fail maven project?


(Louka Feng) #1

I am using sonarqube-7.5. I am trying to analyze a Java project using Maven (Hadoop-rel-release-3.0.3). Due to some errors, I can not build this project successfully and I am not familiar with this project. I only want the code smell analysis results. Can we analyze a project without build?


(Adam Gabryƛ) #2

You need classes to scan Java code. The answer is:

  • yes - but not all languages could be analyzed (like Java, you have to disable the plugins)
  • no - if you want to scan the whole source code