From ebd368057df176c3071bafa467a3d778c054d90c Mon Sep 17 00:00:00 2001 From: Natalia Pozhidaeva Date: Fri, 25 Aug 2023 15:25:39 -0500 Subject: [PATCH] Update dependencies --- .github/workflows/main.yml | 18 ++---------------- jdi-dark-bdd-tests/pom.xml | 5 ++++- jdi-dark-tests/pom.xml | 11 ++++++++++- jdi-dark/pom.xml | 21 ++++++++++++++++----- 4 files changed, 32 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba6fad25..8a1754db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,20 +44,6 @@ jobs: java -Xmx32m -version env - - name: Set parameters for AspectJ - id: aspect_j_params - if: ${{ matrix.java > 15 }} - run: | - echo "ASPECT_ARGS=-Daspectj.args="\"$SUREFIRE_ARGS\" >> $GITHUB_ENV - echo "ASPECT_ARGS_BDD=-Daspectj.args="\"$SUREFIRE_ARGS_BDD\" >> $GITHUB_ENV - - - name: Set parameters for AspectJ - id: aspect_j_params_empty - if: ${{ matrix.java < 16 }} - run: | - echo "ASPECT_ARGS=-Daspectj.args=''" >> $GITHUB_ENV - echo "ASPECT_ARGS_BDD=-Daspectj.args=''" >> $GITHUB_ENV - # run cann't start from comment # curl -o allure-${ALLURE_VERSION}.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/${ALLURE_VERSION}/allure-${ALLURE_VERSION}.tgz - name: Install Allure @@ -80,14 +66,14 @@ jobs: if: steps.jdi-compile.outcome == 'success' timeout-minutes: 30 # prevent blocking continue-on-error: true - run: mvn verify -pl $BDD_TESTS ${{ env.ASPECT_ARGS_BDD }} --fail-at-end + run: mvn verify -pl $BDD_TESTS --fail-at-end - name: Run tests - HTTP id: testsHttp if: steps.jdi-compile.outcome == 'success' timeout-minutes: 30 # prevent blocking continue-on-error: true - run: mvn verify -pl $HTTP_TESTS ${{ env.ASPECT_ARGS }} --fail-at-end + run: mvn verify -pl $HTTP_TESTS --fail-at-end - name: Collect reports if: steps.jdi-compile.outcome == 'success' diff --git a/jdi-dark-bdd-tests/pom.xml b/jdi-dark-bdd-tests/pom.xml index 7a947e35..69eeca23 100644 --- a/jdi-dark-bdd-tests/pom.xml +++ b/jdi-dark-bdd-tests/pom.xml @@ -24,8 +24,11 @@ jdk16 + + [16, 20] + - --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED diff --git a/jdi-dark-tests/pom.xml b/jdi-dark-tests/pom.xml index c475411d..454e14cd 100644 --- a/jdi-dark-tests/pom.xml +++ b/jdi-dark-tests/pom.xml @@ -39,7 +39,7 @@ org.testng testng - 7.5 + 7.5.1 commons-io @@ -279,5 +279,14 @@ DEBUG + + jdk16 + + [16, 20] + + + --add-opens java.base/java.lang=ALL-UNNAMED + + \ No newline at end of file diff --git a/jdi-dark/pom.xml b/jdi-dark/pom.xml index 3dde782c..0408870e 100644 --- a/jdi-dark/pom.xml +++ b/jdi-dark/pom.xml @@ -14,11 +14,11 @@ UTF-8 1.8 2.8.9 - 5.3.0 + 5.3.1 3.0.7 - 2.14.0 - 2.17.1 - 1.18.20 + 2.23.0 + 2.20.0 + 1.18.28 @@ -57,6 +57,17 @@ com.jdiai.tools jdi-light-saber ${jdi-light-saber.version} + + + com.fasterxml.jackson.core + jackson-databind + + + + + com.fasterxml.jackson.core + jackson-databind + 2.15.2 io.qameta.allure @@ -76,7 +87,7 @@ ch.qos.logback logback-classic - 1.2.3 + 1.4.11 org.projectlombok