From bac650a100eef54a5b152691aa2e947c71e91822 Mon Sep 17 00:00:00 2001 From: Fiore Mario Vitale Date: Tue, 28 Jan 2025 16:01:18 +0100 Subject: [PATCH] DBZ-8604 Update Maven wrapper --- .github/workflows/conductor-workflow.yml | 15 ++++++++------- .../.mvn/wrapper/maven-wrapper.properties | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/conductor-workflow.yml b/.github/workflows/conductor-workflow.yml index 6591777..9631d36 100644 --- a/.github/workflows/conductor-workflow.yml +++ b/.github/workflows/conductor-workflow.yml @@ -35,7 +35,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.m2/repository - key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} + key: maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} # Caches should be restored based on a logical order to minimize the build and test # execution time. Here the logic is as follows: # 1. Restore this PR's cache if the PR has previously been built @@ -43,10 +43,11 @@ jobs: # 3. Restore the latest main cache available # This should minimize the download time required for updating dependencies restore-keys: | - maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} - maven-debezium-test-push-build-${{ hashFiles('core/**/pom.xml') }} + maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} + maven-debezium-test-push-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} maven-debezium-test-push-build- - name: Maven build core dependencies + if: steps.maven-cache-check.outputs.cache-hit != 'true' run: > ./core/mvnw clean install -f core/pom.xml -DskipTests @@ -82,8 +83,8 @@ jobs: uses: actions/cache@v4 with: path: ~/.m2/repository - key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} - restore-keys: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} + key: maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} + restore-keys: maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} - name: "Checkstyle, Formatting, and Import Order Checks" run: > @@ -114,8 +115,8 @@ jobs: uses: actions/cache@v4 with: path: ~/.m2/repository - key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} - restore-keys: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} + key: maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} + restore-keys: maven-debezium-test-build-${{ hashFiles('debezium-platform-conductor/core/**/pom.xml') }} - name: Run tests run: ./mvnw clean verify \ No newline at end of file diff --git a/debezium-platform-conductor/.mvn/wrapper/maven-wrapper.properties b/debezium-platform-conductor/.mvn/wrapper/maven-wrapper.properties index 346d645..61ed1e3 100644 --- a/debezium-platform-conductor/.mvn/wrapper/maven-wrapper.properties +++ b/debezium-platform-conductor/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar