0

I wanted to know if with Spring Boot and Eclipse it is possible to configure something so that in the% of the project coverage it does not take into account the coverage of certain classes.

jdflores
  • 407
  • 7
  • 25

1 Answers1

0
  you are using jacoco plugin u can use like below 
    <plugin>
      <groupId>org.jacoco</groupId>
      <artifactId>jacoco-maven-plugin</artifactId>
      <version>${jacoco.mavenplugin.version}</version>
      <configuration>
          <excludes>
               <exclude>some/package/**/*</exclude>
          </excludes>
      </configuration>
      <executions>
          ...
      </executions>
    </plugin>

please refer below

Maven Jacoco Configuration - Exclude classes/packages from report not working

sai
  • 111
  • 1
  • 3