From fb2e4f860fb92a0ca25f818548bdc227d95ab6c8 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 8 Sep 2020 16:02:52 -0500 Subject: [PATCH] Exclude ProjectInitialization.class from tests. The ProjectInitialization class is already being ignored during tests due to an `@Profile("!test")`. Despite this coveralls still attempts to assess coverage. Prevent coveralls from assessing coverage by excluding the ProjectInitialization.class entirely from both cobertura and jacoco. --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 60afc118..d06b3979 100644 --- a/pom.xml +++ b/pom.xml @@ -162,6 +162,9 @@ java.util.logging.* edu.tamu.app.config.AppEmailConfig + + **/ProjectInitialization.class + html @@ -173,6 +176,11 @@ org.jacoco jacoco-maven-plugin + + + **/ProjectInitialization.class + + prepare-agent