Added Jacoco plugin for Sonar report 87/2487/1
authorLathish <lathishbabu.ganesan@est.tech>
Wed, 12 Feb 2020 14:46:01 +0000 (14:46 +0000)
committerLathish <lathishbabu.ganesan@est.tech>
Wed, 12 Feb 2020 14:46:05 +0000 (14:46 +0000)
Issue-ID: NONRTRIC-144
Change-Id: Ie9bcb478a5cb80ca6a8ee923284f0c91e15cc8f7
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
policy-agent/pom.xml

index 83fc8f4..27efab6 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.8.4</version>
+                <executions>
+                    <execution>
+                        <id>default-prepare-agent</id>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>default-report</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>report</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>io.fabric8</groupId>
                 <artifactId>docker-maven-plugin</artifactId>