image: maven:3.8.3-openjdk-17 cache: paths: - .m2/repository variables: MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository" MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version" verify: stage: test script: - 'mvn $MAVEN_CLI_OPTS verify' artifacts: when: always reports: junit: - "**/target/surefire-reports/TEST-*.xml"