diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index d75243a7a16..4d6ec945fa2 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -17,7 +17,7 @@ jobs: distribution: liberica java-version: ${{ env.DEV_JDK }} - uses: ./.github/actions/maven-cache - - run: mvn -V -B --no-transfer-progress license:check + - run: mvn -V -B --no-transfer-progress --offline license:check timeout-minutes: 10 dependencies: name: Dependency checks @@ -88,6 +88,11 @@ jobs: timeout-minutes: 30 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MAVEN_OPTS: >- + -DtrimStackTrace=false + -D'maven.resolver.transport=wagon' + -D'maven.wagon.http.connectionTimeout=10000' + -D'maven.wagon.http.readTimeout=30000' run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress -T 1C compile test-compile -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' --projects '!exist-installer' - name: Maven Unit Tests if: matrix.test-type == 'unit' @@ -95,7 +100,7 @@ jobs: run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress test -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' -D'mvnd.maxLostKeepAlive=6000' - name: Maven Integration Tests if: matrix.test-type == 'integration' - timeout-minutes: 45 + timeout-minutes: 30 run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress verify -DskipUnitTests=true -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' -D'mvnd.maxLostKeepAlive=6000' - name: Javadoc (ubuntu unit only) if: matrix.os == 'ubuntu-latest' && matrix.test-type == 'unit' diff --git a/exist-parent/pom.xml b/exist-parent/pom.xml index 4c9650a180c..2f1b961a507 100644 --- a/exist-parent/pom.xml +++ b/exist-parent/pom.xml @@ -842,6 +842,10 @@ However it can make it hard to diagnose problems if tests leak state; If you experience such a problem you may want to set it to `false` whilst debugging --> true + + 600 + 60 @{jacocoArgLine} --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED -Dfile.encoding=${project.build.sourceEncoding} UK @@ -863,6 +867,10 @@ org.apache.maven.plugins maven-failsafe-plugin 3.5.5 + + 600 + 60 + org.apache.maven.plugins