@@ -24,12 +24,12 @@ cd ${scriptDir}/..
2424source ${scriptDir} /common.sh
2525
2626# Print out Maven & Java version
27- mvn -version
27+ ./mvnw -version
2828echo ${JOB_TYPE}
2929
3030# attempt to install 3 times with exponential backoff (starting with 10 seconds)
3131retry_with_backoff 3 10 \
32- mvn install -B -V -ntp \
32+ ./mvnw install -B -V -ntp \
3333 -DskipTests=true \
3434 -Dclirr.skip=true \
3535 -Denforcer.skip=true \
@@ -42,19 +42,19 @@ set +e
4242
4343case ${JOB_TYPE} in
4444test)
45- mvn test -B -ntp -Pcoverage -Dclirr.skip=true -Denforcer.skip=true
45+ ./mvnw test -B -ntp -Pcoverage -Dclirr.skip=true -Denforcer.skip=true
4646 RETURN_CODE=$?
4747 ;;
4848lint)
49- mvn com.coveo:fmt-maven-plugin:check -B -ntp
49+ ./mvnw com.coveo:fmt-maven-plugin:check -B -ntp
5050 RETURN_CODE=$?
5151 ;;
5252javadoc)
53- mvn javadoc:javadoc javadoc:test-javadoc -B -ntp
53+ ./mvnw javadoc:javadoc javadoc:test-javadoc -B -ntp
5454 RETURN_CODE=$?
5555 ;;
5656integration)
57- mvn -B ${INTEGRATION_TEST_ARGS} \
57+ ./mvnw -B ${INTEGRATION_TEST_ARGS} \
5858 -ntp \
5959 -Penable-integration-tests \
6060 -DtrimStackTrace=false \
@@ -66,12 +66,12 @@ integration)
6666 ;;
6767graalvm)
6868 # Run Unit and Integration Tests with Native Image
69- mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
69+ ./mvnw -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
7070 RETURN_CODE=$?
7171 ;;
7272graalvm17)
7373 # Run Unit and Integration Tests with Native Image
74- mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
74+ ./mvnw -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
7575 RETURN_CODE=$?
7676 ;;
7777samples)
@@ -90,7 +90,7 @@ samples)
9090 done
9191
9292 pushd ${SAMPLES_DIR}
93- mvn -B \
93+ ./mvnw -B \
9494 -ntp \
9595 -DtrimStackTrace=false \
9696 -Dclirr.skip=true \
@@ -104,7 +104,7 @@ samples)
104104 fi
105105 ;;
106106clirr)
107- mvn -B -ntp -Denforcer.skip=true clirr:check
107+ ./mvnw -B -ntp -Denforcer.skip=true clirr:check
108108 RETURN_CODE=$?
109109 ;;
110110* )
0 commit comments