summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-analytics/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-analytics/pom.xml')
-rw-r--r--ecomp-sdk/epsdk-analytics/pom.xml33
1 files changed, 32 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-analytics/pom.xml b/ecomp-sdk/epsdk-analytics/pom.xml
index 9d433363..57dbdc0a 100644
--- a/ecomp-sdk/epsdk-analytics/pom.xml
+++ b/ecomp-sdk/epsdk-analytics/pom.xml
@@ -19,7 +19,31 @@
<!-- properties are inherited from parent -->
<!-- repositories are inherited from parent -->
-
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <!-- version managed by oparent ${jacocoVersion}</version> -->
+ <executions>
+ <execution>
+ <id>portal-offline-instrument</id>
+ <phase>none</phase>
+ <goals>
+ <goal>instrument</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>portal-restore-instrumented-classes</id>
+ <phase>none</phase>
+ <goals>
+ <goal>restore-instrumented-classes</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+</build>
<dependencies>
<!-- sdk-core -->
@@ -160,6 +184,13 @@
</exclusion>
</exclusions>
</dependency>
+ <!-- Jacoco for offline instrumentation -->
+ <dependency>
+ <groupId>org.jacoco</groupId>
+ <artifactId>org.jacoco.agent</artifactId>
+ <version>${jacoco.version}</version>
+ <classifier>runtime</classifier>
+ </dependency>
</dependencies>
</project>