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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 52e48f06 JaCoCo on Java 8 is different from other versions
52e48f06 is described below

commit 52e48f06ff1488a23c9fa24d31e2d23e6006d76d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Apr 21 09:42:04 2024 -0400

    JaCoCo on Java 8 is different from other versions
---
 pom.xml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 68b075ee..f0fe291f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -495,7 +495,6 @@
               </testIncludes>
             </configuration>
           </plugin>
-
           <!-- Hook the benchmarks to the test phase -->
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
@@ -527,7 +526,17 @@
         </plugins>
       </build>
     </profile>
-    
+    <profile>
+      <!-- Java 8 only -->
+      <id>java-8</id>
+      <activation>
+        <jdk>8</jdk>
+      </activation>
+      <properties>
+        <!-- JaCoCo on Java 8 is different from other versions. -->
+        <commons.jacoco.classRatio>0.89</commons.jacoco.classRatio>
+      </properties>
+    </profile>
   </profiles>
 
   <developers>

Reply via email to