Can not execute Findbugs Caused by: This project contains Java source files that are not compiled

前端 未结 3 701
北恋
北恋 2021-02-07 03:45

I am currently using the sonarqube server 5.6 with scanner 2.6.1 and I keep getting errors during analysis for a java project. It appears to complain about some java files not c

3条回答
  •  死守一世寂寞
    2021-02-07 04:21

    My working configuration for SonarQube 6.2 with Maven-Multi-Module project

    Parent

    -- Module1

    -- Module2

    sonar.projectKey=projectKey
    sonar.projectName=Project Name
    sonar.projectVersion=1.0
    
    sonar.modules=Module1,Module2
    
    sonar.sources=src
    sonar.sourceEncoding=UTF-8
    sonar.language=java
    

提交回复
热议问题