diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml
index c3457501c..95e8a9259 100644
--- a/.github/workflows/maven-build.yml
+++ b/.github/workflows/maven-build.yml
@@ -23,11 +23,19 @@ jobs:
steps:
- name: Checkout Source
uses: actions/checkout@v4
+
- name: Setup JDK ${{ matrix.Java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: maven
+
- name: Build with Maven
- run: mvn --batch-mode --update-snapshots --file pom.xml -Drevision=0.0.1-SNAPSHOT clean install
\ No newline at end of file
+ run: mvn --batch-mode --update-snapshots --file pom.xml -Drevision=0.0.1-SNAPSHOT clean install
+
+ - name: Upload coverage reports to Codecov
+ uses: codecov/codecov-action@v5
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ slug: microsphere-projects/microsphere-java
\ No newline at end of file
diff --git a/microsphere-java-core/pom.xml b/microsphere-java-core/pom.xml
index 9170c96ec..ee7fbe708 100644
--- a/microsphere-java-core/pom.xml
+++ b/microsphere-java-core/pom.xml
@@ -18,6 +18,10 @@
Microsphere :: Java :: Core
Microsphere Java Core
+
+
+
+
@@ -97,11 +101,24 @@
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${surefire.argLine}
+
+
+
+
+
+
- jigsaw
+ javax-api
- [1.9,)
+ [9,)
@@ -110,21 +127,63 @@
javax.annotation-api
+
+
+
+ jdk9-15
+
+ [9,15]
+
+
+
+ --illegal-access=permit
+ --add-opens java.base/java.lang.invoke=ALL-UNNAMED
+
+
+
+
+
+ jdk16+
+
+ [16,)
+
+
+
+ --add-opens java.base/java.lang.invoke=ALL-UNNAMED
+
+
+
+
+
+ coverage
- org.apache.maven.plugins
- maven-surefire-plugin
+ org.jacoco
+ jacoco-maven-plugin
-
- --illegal-access=permit
- --add-opens java.base/java.lang.invoke=ALL-UNNAMED
-
+ ${project.build.directory}/jacoco.exec
+
+
+ prepare-agent
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 06b0cd78f..73c8c2375 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
io.github.microsphere-projects
microsphere-build
- 0.0.21
+ 0.0.22
io.github.microsphere-projects
@@ -51,7 +51,7 @@
- 0.0.9
+ 0.0.10-SNAPSHOT