From cc537a4c20eeb774a5bfb7d79ae7cae90914da83 Mon Sep 17 00:00:00 2001 From: artur-ciocanu Date: Sat, 7 Sep 2024 13:00:45 +0300 Subject: [PATCH] Adding Maven Profiles (#1120) * Adding Maven Profiles Signed-off-by: Artur Ciocanu * Simplify profiles setup Signed-off-by: Artur Ciocanu --------- Signed-off-by: Artur Ciocanu Co-authored-by: Artur Ciocanu --- .github/workflows/build.yml | 2 +- pom.xml | 13 +++++++++---- sdk-tests/pom.xml | 18 +++++++----------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac3d084ee..070f163dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: run: ./mvnw install -q -B -DskipTests - name: Integration tests using spring boot version ${{ matrix.spring-boot-version }} id: integration_tests - run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -f sdk-tests/pom.xml verify + run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -Pintegration-tests verify - name: Upload test report for sdk uses: actions/upload-artifact@v4 with: diff --git a/pom.xml b/pom.xml index 946c5f2e4..c8cf9699c 100644 --- a/pom.xml +++ b/pom.xml @@ -328,10 +328,15 @@ examples testcontainers-dapr - + + + integration-tests + + sdk-tests + + + + diff --git a/sdk-tests/pom.xml b/sdk-tests/pom.xml index 7c4997024..ce60ce241 100644 --- a/sdk-tests/pom.xml +++ b/sdk-tests/pom.xml @@ -4,9 +4,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - io.dapr + + io.dapr + dapr-sdk-parent + 1.13.0-SNAPSHOT + + dapr-sdk-tests - 0.0.0-SNAPSHOT + 1.13.0-SNAPSHOT dapr-sdk-tests Tests for Dapr's Java SDK - not to be published as a jar. @@ -320,15 +325,6 @@ ${env.PRODUCT_SPRING_BOOT_VERSION} - - - - com.squareup.okhttp3 - okhttp - 4.9.0 - test - -