You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/10/26 04:59:00 UTC

[incubator-streampark] branch dev updated: Use the mvnw file in the project to execute the maven command. (#1905)

This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new b17f33209 Use the mvnw file in the project to execute the maven command. (#1905)
b17f33209 is described below

commit b17f33209553e0eda418230fde972d5e8b6fdaa4
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Wed Oct 26 12:58:55 2022 +0800

    Use the mvnw file in the project to execute the maven command. (#1905)
    
    * Use the mvnw file in the project to execute the maven command.
    
    * checkout dev
---
 .github/workflows/docker_push.yml | 2 +-
 .github/workflows/maven.yml       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/docker_push.yml b/.github/workflows/docker_push.yml
index 781b54f51..36a7f8477 100644
--- a/.github/workflows/docker_push.yml
+++ b/.github/workflows/docker_push.yml
@@ -58,7 +58,7 @@ jobs:
 
       - name: Mixed front-end and back-end packaging
         run: |
-          mvn clean install -DskipTests -Dscala.version=2.12.8 -Dscala.binary.version=2.12 -Pwebapp
+          ./mvnw clean install -DskipTests -Dscala.version=2.12.8 -Dscala.binary.version=2.12 -Pwebapp
 
       - name: Log in to Docker Hub
         uses: docker/login-action@v2
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9ffd56612..952a90d20 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -81,7 +81,7 @@ jobs:
           distribution: "adopt"
           cache: "maven"
       - name: Build with Maven
-        run: mvn -B clean package -Dscala.version=${{ matrix.scala-version }} -Dscala.binary.version=${{ matrix.scala-binary-version }} -DskipTests
+        run: ./mvnw -B clean package -Dscala.version=${{ matrix.scala-version }} -Dscala.binary.version=${{ matrix.scala-binary-version }} -DskipTests
       - name: Test with Maven
-        run: mvn -B test -Dscala.version=${{ matrix.scala-version }} -Dscala.binary.version=${{ matrix.scala-binary-version }} -pl '!streampark-plugin/streampark-jvm-profiler,!streampark-console/streampark-console-service' -am
+        run: ./mvnw -B test -Dscala.version=${{ matrix.scala-version }} -Dscala.binary.version=${{ matrix.scala-binary-version }} -pl '!streampark-plugin/streampark-jvm-profiler,!streampark-console/streampark-console-service' -am