Fix FileNotFound jacoco.exec in sal poms and remove duplicate jacoco
[controller.git] / opendaylight / md-sal / samples / toaster-it / pom.xml
index 1c0fb14e2ba2d04a73a4ec06a306457d082fa803..f0e3c1a1addb1c85294ea8bb09708b5397f2faa5 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                   <groupId>org.jacoco</groupId>
+                   <artifactId>jacoco-maven-plugin</artifactId>
+                   <configuration>
+                     <includes>org.opendaylight.controller.*</includes>
+                   </configuration>
+                   <executions>
+                     <execution>
+                       <id>pre-test</id>
+                       <goals>
+                         <goal>prepare-agent</goal>
+                       </goals>
+                     </execution>
+                     <execution>
+                       <id>post-test</id>
+                       <phase>test</phase>
+                       <goals>
+                         <goal>report</goal>
+                       </goals>
+                     </execution>
+                   </executions>
+               </plugin>
         </plugins>
         <pluginManagement>
             <plugins>