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-scxml.git
The following commit(s) were added to refs/heads/master by this push: new 5cb8a954 Set a baseline for JaCoCo checks 5cb8a954 is described below commit 5cb8a95496aca1a9e2aab8d263f37757195bdb4d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed May 8 19:47:32 2024 -0400 Set a baseline for JaCoCo checks --- pom.xml | 9 ++++++++- src/site/resources/profile.jacoco | 0 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 222d7efb..564f1004 100644 --- a/pom.xml +++ b/pom.xml @@ -210,8 +210,15 @@ <project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp> <!-- Allow override of the logging level --> <simplelog.defaultlog>fatal</simplelog.defaultlog> + <!-- JaCoCo: Don't make code coverage worse than: --> + <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure> + <commons.jacoco.classRatio>0.92</commons.jacoco.classRatio> + <commons.jacoco.instructionRatio>0.70</commons.jacoco.instructionRatio> + <commons.jacoco.methodRatio>0.80</commons.jacoco.methodRatio> + <commons.jacoco.branchRatio>0.63</commons.jacoco.branchRatio> + <commons.jacoco.lineRatio>0.74</commons.jacoco.lineRatio> + <commons.jacoco.complexityRatio>0.60</commons.jacoco.complexityRatio> </properties> - <build> <defaultGoal>clean verify javadoc:javadoc</defaultGoal> <sourceDirectory>src/main/java</sourceDirectory> diff --git a/src/site/resources/profile.jacoco b/src/site/resources/profile.jacoco new file mode 100644 index 00000000..e69de29b