@@ -24,12 +24,12 @@ cd ${scriptDir}/..
24
24
source ${scriptDir} /common.sh
25
25
26
26
# Print out Maven & Java version
27
- mvn -version
27
+ ./mvnw -version
28
28
echo ${JOB_TYPE}
29
29
30
30
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
31
31
retry_with_backoff 3 10 \
32
- mvn install -B -V -ntp \
32
+ ./mvnw install -B -V -ntp \
33
33
-DskipTests=true \
34
34
-Dclirr.skip=true \
35
35
-Denforcer.skip=true \
@@ -42,19 +42,19 @@ set +e
42
42
43
43
case ${JOB_TYPE} in
44
44
test)
45
- mvn test -B -ntp -Pcoverage -Dclirr.skip=true -Denforcer.skip=true
45
+ ./mvnw test -B -ntp -Pcoverage -Dclirr.skip=true -Denforcer.skip=true
46
46
RETURN_CODE=$?
47
47
;;
48
48
lint)
49
- mvn com.coveo:fmt-maven-plugin:check -B -ntp
49
+ ./mvnw com.coveo:fmt-maven-plugin:check -B -ntp
50
50
RETURN_CODE=$?
51
51
;;
52
52
javadoc)
53
- mvn javadoc:javadoc javadoc:test-javadoc -B -ntp
53
+ ./mvnw javadoc:javadoc javadoc:test-javadoc -B -ntp
54
54
RETURN_CODE=$?
55
55
;;
56
56
integration)
57
- mvn -B ${INTEGRATION_TEST_ARGS} \
57
+ ./mvnw -B ${INTEGRATION_TEST_ARGS} \
58
58
-ntp \
59
59
-Penable-integration-tests \
60
60
-DtrimStackTrace=false \
@@ -66,12 +66,12 @@ integration)
66
66
;;
67
67
graalvm)
68
68
# 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
70
70
RETURN_CODE=$?
71
71
;;
72
72
graalvm17)
73
73
# 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
75
75
RETURN_CODE=$?
76
76
;;
77
77
samples)
@@ -90,7 +90,7 @@ samples)
90
90
done
91
91
92
92
pushd ${SAMPLES_DIR}
93
- mvn -B \
93
+ ./mvnw -B \
94
94
-ntp \
95
95
-DtrimStackTrace=false \
96
96
-Dclirr.skip=true \
@@ -104,7 +104,7 @@ samples)
104
104
fi
105
105
;;
106
106
clirr)
107
- mvn -B -ntp -Denforcer.skip=true clirr:check
107
+ ./mvnw -B -ntp -Denforcer.skip=true clirr:check
108
108
RETURN_CODE=$?
109
109
;;
110
110
* )
0 commit comments