Skip to content

Commit 2a87c7c

Browse files
author
mhewedy
committed
feat(31): support springboot 3
1 parent 8217e4b commit 2a87c7c

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.github/workflows/maven.yml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ jobs:
2929
- name: Test with Maven
3030
run: mvn -B test --file pom.xml
3131

32-
- name: Run code coverage
33-
run: mvn cobertura:cobertura
34-
3532
- name: Submit code coverage
3633
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_SECRET }}
3734

pom.xml

+18-10
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,24 @@
8181
<plugins>
8282
<!-- for codecov-->
8383
<plugin>
84-
<groupId>org.codehaus.mojo</groupId>
85-
<artifactId>cobertura-maven-plugin</artifactId>
86-
<version>2.7</version>
87-
<configuration>
88-
<formats>
89-
<format>html</format>
90-
<format>xml</format>
91-
</formats>
92-
<check/>
93-
</configuration>
84+
<groupId>org.jacoco</groupId>
85+
<artifactId>jacoco-maven-plugin</artifactId>
86+
<version>0.8.8</version>
87+
<executions>
88+
<execution>
89+
<id>prepare-agent</id>
90+
<goals>
91+
<goal>prepare-agent</goal>
92+
</goals>
93+
</execution>
94+
<execution>
95+
<id>report</id>
96+
<phase>test</phase>
97+
<goals>
98+
<goal>report</goal>
99+
</goals>
100+
</execution>
101+
</executions>
94102
</plugin>
95103

96104
<!-- for deploy to maven central-->

0 commit comments

Comments
 (0)