You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2022/07/14 22:29:32 UTC

[datasketches-memory] branch fix-coverage-report created (now 036da58)

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

dcromberge pushed a change to branch fix-coverage-report
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git


      at 036da58  Fix jacoco plugin report

This branch includes the following new commits:

     new 036da58  Fix jacoco plugin report

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-memory] 01/01: Fix jacoco plugin report

Posted by dc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch fix-coverage-report
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git

commit 036da58e7ccf1415405ec439b590612cbd4befaa
Author: David Cromberge <dc...@apache.org>
AuthorDate: Thu Jul 14 23:28:58 2022 +0100

    Fix jacoco plugin report
    
    The test coverage report is now generated during
    the test phase when a user runs 'mvn test'.
---
 datasketches-memory-java11/pom.xml | 15 ---------------
 datasketches-memory-java8/pom.xml  | 20 ++++++++++++++++++++
 pom.xml                            |  2 +-
 3 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/datasketches-memory-java11/pom.xml b/datasketches-memory-java11/pom.xml
index 21490e3..1f7f54d 100644
--- a/datasketches-memory-java11/pom.xml
+++ b/datasketches-memory-java11/pom.xml
@@ -53,21 +53,6 @@
                         </compilerArgs>
                     </configuration>
                 </plugin>
-                <plugin>
-                    <!-- Generates aggregate code coverage report from website.  This applies across all Maven submodules. -->
-                    <groupId>org.jacoco</groupId>
-                    <artifactId>jacoco-maven-plugin</artifactId>
-                    <version>${jacoco-maven-plugin.version}</version>
-                    <executions>
-                        <execution>
-                            <id>default-report</id>
-                            <phase>verify</phase>
-                            <goals>
-                                <goal>report-aggregate</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
             </plugins>
         </pluginManagement>
     </build>
diff --git a/datasketches-memory-java8/pom.xml b/datasketches-memory-java8/pom.xml
index c8d0a1d..aecf9e4 100644
--- a/datasketches-memory-java8/pom.xml
+++ b/datasketches-memory-java8/pom.xml
@@ -61,4 +61,24 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.jacoco</groupId>
+          <artifactId>jacoco-maven-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>report</id>
+              <phase>test</phase>
+              <goals>
+                <goal>report</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
 </project>
diff --git a/pom.xml b/pom.xml
index 1747aed..ee91250 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
             <!--suppress UnresolvedMavenProperty -->
             <repoToken>${coveralls-repo-token}</repoToken>
             <!--suppress UnresolvedMavenProperty -->
-            <jacocoReports>${maven.multiModuleProjectDirectory}/datasketches-memory-java11/target/site/jacoco-aggregate/jacoco.xml</jacocoReports>
+            <jacocoReports>${maven.multiModuleProjectDirectory}/datasketches-memory-java8/target/site/jacoco/jacoco.xml</jacocoReports>
           </configuration>
         </plugin>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org