File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ jobs:
22
22
cache : ' maven'
23
23
24
24
- name : Analyse test coverage with Jacoco
25
- run : mvn -P test-coverage verify
25
+ run : ./mvnw --batch-mode -P test-coverage verify
26
26
27
27
- name : Analyse code quality with Sonar
28
28
if : github.repository == 'spring-projects/spring-ai'
29
29
env :
30
30
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
31
31
SONAR_HOST_URL : ${{ secrets.SONAR_URL }}
32
- run : mvn sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN
32
+ run : ./mvnw --batch-mode sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN
33
33
Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ jobs:
53
53
OLLAMA_AUTOCONF_TESTS_ENABLED : " true"
54
54
OLLAMA_WITH_REUSE : true
55
55
run : |
56
- mvn -s settings.xml -Pci-fast-integration-tests -Pjavadoc -Dfailsafe.rerunFailingTestsCount=3 \
56
+ ./mvnw -s settings.xml -Pci-fast-integration-tests -Pjavadoc -Dfailsafe.rerunFailingTestsCount=3 \
57
57
--batch-mode --update-snapshots deploy
58
58
59
59
- name : Generate Java docs
60
- run : mvn javadoc:aggregate
60
+ run : ./mvnw --batch-mode javadoc:aggregate
61
61
62
62
- name : Generate assembly
63
63
working-directory : spring-ai-docs
64
- run : mvn assembly:single
64
+ run : ./mvnw --batch-mode assembly:single
65
65
66
66
- name : Capture project version
67
67
run : echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
26
26
cache : ' maven'
27
27
28
28
- name : Generate Java docs
29
- run : mvn clean install -DskipTests -Pjavadoc
29
+ run : ./mvnw --batch-mode clean install -DskipTests -Pjavadoc
30
30
31
31
- name : Aggregate Java docs
32
- run : mvn javadoc:aggregate
32
+ run : ./mvnw --batch-mode javadoc:aggregate
33
33
34
34
- name : Generate assembly
35
35
working-directory : spring-ai-docs
36
- run : mvn assembly:single
36
+ run : ./mvnw --batch-mode assembly:single
37
37
38
38
- name : Setup SSH key
39
39
env :
Original file line number Diff line number Diff line change 23
23
24
24
- name : Run tests
25
25
run : |
26
- ./mvnw test
26
+ ./mvnw --batch-mode test
You can’t perform that action at this time.
0 commit comments