Fix FileNotFound jacoco.exec for ForwardingRulesManager impl. 24/2224/2
authorAlissa Bonas <abonas@redhat.com>
Mon, 28 Oct 2013 15:48:50 +0000 (17:48 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 28 Oct 2013 16:17:42 +0000 (16:17 +0000)
Because this module has no tests, the jacoco test code coverage plugin
cannot run here (and there's no point anyway) , thus it fails.
Removing it resolves the exception.

Change-Id: I2b3bc65aeca8eae6a08356e7ae62e43e782305e0
Signed-off-by: Alissa Bonas <abonas@redhat.com>
opendaylight/forwardingrulesmanager/implementation/pom.xml

index 828d12b..b236d7f 100644 (file)
   <version>0.4.1-SNAPSHOT</version>
   <packaging>bundle</packaging>
 
-  <properties>
-    <!-- Sonar properties using jacoco to retrieve integration test results -->
-    <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
-    <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
-    <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
-  </properties>
   <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.jacoco</groupId>
-          <artifactId>jacoco-maven-plugin</artifactId>
-          <version>${jacoco.version}</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
         </configuration>
       </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>
   </build>
   <dependencies>