SonarQube Exclude a directory

前端 未结 13 940
失恋的感觉
失恋的感觉 2020-12-23 02:43

I am trying to exclude a directory from being analyzed by Sonar. I have the following properties defined in my sonar-project.properties file:

so         


        
13条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 03:03

    Just to mention that once you excluded the files from Sonar, do the same for Jacoco plugin:

    
         
    com/acme/model/persistence/entity/TransactionEntity*
    com/acme/model/persistence/ModelConstants.class
    
     
    

提交回复
热议问题