Specification of exclusions in configuration of jacoco-maven-plugin affects only report generated by jacoco-maven-plugin ( http://www.jacoco.org/jacoco/trunk/doc/report-mojo.html ) and not taken into account by SonarQube.
About exclusions in SonarQube please refer to its documentation - https://docs.sonarqube.org/display/SONAR/Narrowing+the+Focus#NarrowingtheFocus-IgnoreCodeCoverage Or seek help in its community - https://www.sonarqube.org/community/ On Thursday, January 11, 2018 at 9:47:52 AM UTC+1, [email protected] wrote: > > Pom.xml > > <plugin> > <groupId> org.jacoco<groupId> > <artifactId>jacoco-maven-plugin<artifactId> > <configuration> > <append>true</append> > <excludes> > <exclude>com.abc.def.*.java<exclude> > <excludes> > <configuration> > > I want to exclude java files under package com.abc.def for code > coverage.Using jacoco v0.7.8. > But still sonar jacoco code coverage is not improving and remains same as > 1 % and java files under mentuined package still coming in code coverage > report as seen from browser localhost:9000. please suggest the exact sytax > in detail if posible with example to correct this issue. > > Thanks, > Ashish > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/203d9dee-c526-406b-afc6-3628d974fe5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
