I am trying to exclude a directory from being analyzed by Sonar. I have the following properties defined in my sonar-project.properties file:
sonar-project.properties
so
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