Call Maven with trimStackTrace=false.
MODIFY
.github/workflows/maven.yml
.github/workflows/maven.yml
@@ -49,4 +49,4 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
- run: mvn -V --file pom.xml --no-transfer-progress
+ run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false

Call Maven with trimStackTrace=false.