Integrate IT via jacoco 75/21775/2
authorRyan Moats <rmoats@us.ibm.com>
Wed, 3 Jun 2015 13:42:58 +0000 (08:42 -0500)
committerRyan Moats <rmoats@us.ibm.com>
Wed, 3 Jun 2015 13:57:14 +0000 (08:57 -0500)
Change-Id: If01af2100ec1b965b88fdb2c194a2ac76bc56db5
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
integration/test/pom.xml

index 29b294afadb9cfef4f26a82da687341a14d51ed4..3ce4b7c5b4fe6f3339818195e4c2353ccdda36f7 100644 (file)
       <version>${project.version}</version>
     </dependency>
   </dependencies>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.jacoco</groupId>
+          <artifactId>jacoco-maven-plugin</artifactId>
+          <version>${jacoco.version}</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+        <configuration>
+          <includes>
+            <include>org.opendaylight.neutron.*</include>
+          </includes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>pre-test</id>
+            <goals>
+              <goal>prepare-agent-integration</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>post-test</id>
+            <goals>
+              <goal>report</goal>
+            </goals>
+            <phase>test</phase>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>  
   <scm>
     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>