This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 4911313  [OPENMEETINGS-2042] another attempt to fix coverage
4911313 is described below

commit 491131368741067c445d65f8bb07a574a3c6f1d4
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Wed May 22 16:27:56 2019 +0700

    [OPENMEETINGS-2042] another attempt to fix coverage
---
 pom.xml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ec4dc5f..4c23792 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,7 +120,7 @@
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
                
<sonar.junit.reportPaths>target/surefire-reports</sonar.junit.reportPaths>
-               
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml,target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+               
<jacoco.binary.path>${project.basedir}/../target/jacoco.exec</jacoco.binary.path>
                <db_user></db_user>
                <db_pass></db_pass>
        </properties>
@@ -1000,6 +1000,10 @@
                                        <groupId>org.jacoco</groupId>
                                        
<artifactId>jacoco-maven-plugin</artifactId>
                                        
<version>${jacoco-maven-plugin.versoin}</version>
+                                       <configuration>
+                                               
<destFile>${jacoco.binary.path}</destFile>
+                                               <append>true</append>
+                                       </configuration>
                                </plugin>
                                <plugin>
                                        <groupId>de.thetaphi</groupId>
@@ -1540,10 +1544,13 @@
                                                <reportSets>
                                                        <reportSet>
                                                                <reports>
-                                                                       
<report>report-aggregate</report>
+                                                                       
<report>report</report>
                                                                </reports>
                                                        </reportSet>
                                                </reportSets>
+                                               <configuration>
+                                                       
<dataFile>${jacoco.binary.path}</dataFile>
+                                               </configuration>
                                        </plugin>
                                </plugins>
                        </reporting>

Reply via email to