Just a couple of properties and making sure jacoco runs.
Change-Id: I75aeae7b74f5c7e94a0a237728dc2b6f0c4df090
Signed-off-by: Robert Varga <rovarga@cisco.com>
<releaseplugin.version>2.3.2</releaseplugin.version>
<yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
<yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
<releaseplugin.version>2.3.2</releaseplugin.version>
<yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
<yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
- <config.version>0.2.5-SNAPSHOT</config.version>
+ <config.version>0.2.5-SNAPSHOT</config.version>
+
+ <!-- Sonar config -->
+ <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
+ <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
</properties>
<pluginRepositories>
</properties>
<pluginRepositories>
</execution>
</executions>
</plugin>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ <configuration>
+ <destFile>${sonar.jacoco.reportPath}</destFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>