@@ -27,16 +27,16 @@ jobs:
2727 large-packages : false
2828 docker-images : false
2929
30- - name : Set up JDK 17
30+ - name : Set up JDK
3131 uses : actions/setup-java@v4
3232 with :
33- java-version : ' 17 '
33+ java-version : ' 25 ' # This action actually installs several and the toolchains plugin in maven will select 25 alright, but this makes 25 the 'default '
3434 distribution : ' temurin'
3535 cache : ' maven'
3636
3737 - name : Build all modules with unit tests
3838 run : |
39- ./mvnw --batch-mode --update-snapshots clean install
39+ ./mvnw --batch-mode -ntp - -update-snapshots clean install
4040
4141 - name : Upload Maven repository
4242 uses : actions/upload-artifact@v4
@@ -62,10 +62,10 @@ jobs:
6262 - name : Checkout source code
6363 uses : actions/checkout@v4
6464
65- - name : Set up JDK 17
65+ - name : Set up JDK
6666 uses : actions/setup-java@v4
6767 with :
68- java-version : ' 17 '
68+ java-version : ' 25 ' # This action actually installs several and the toolchains plugin in maven will select 25 alright, but this makes 25 the 'default '
6969 distribution : ' temurin'
7070 cache : ' maven'
7171
8484 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
8585 SPRING_AI_OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
8686 run : |
87- ./mvnw --batch-mode --no-snapshot-updates \
87+ ./mvnw --batch-mode -ntp - -no-snapshot-updates \
8888 -pl models/spring-ai-ollama,auto-configurations/models/spring-ai-autoconfigure-model-ollama \
8989 -Pci-fast-integration-tests \
9090 -Dfailsafe.rerunFailingTestsCount=3 \
@@ -99,10 +99,10 @@ jobs:
9999 - name : Checkout source code
100100 uses : actions/checkout@v4
101101
102- - name : Set up JDK 17
102+ - name : Set up JDK
103103 uses : actions/setup-java@v4
104104 with :
105- java-version : ' 17 '
105+ java-version : ' 25 ' # This action actually installs several and the toolchains plugin in maven will select 25 alright, but this makes 25 the 'default '
106106 distribution : ' temurin'
107107 cache : ' maven'
108108
@@ -121,7 +121,7 @@ jobs:
121121 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
122122 SPRING_AI_OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
123123 run : |
124- ./mvnw --batch-mode --no-snapshot-updates \
124+ ./mvnw --batch-mode -ntp - -no-snapshot-updates \
125125 -pl models/spring-ai-openai,auto-configurations/models/spring-ai-autoconfigure-model-openai \
126126 -Pci-fast-integration-tests \
127127 -Dfailsafe.rerunFailingTestsCount=3 \
@@ -136,10 +136,10 @@ jobs:
136136 - name : Checkout source code
137137 uses : actions/checkout@v4
138138
139- - name : Set up JDK 17
139+ - name : Set up JDK
140140 uses : actions/setup-java@v4
141141 with :
142- java-version : ' 17 '
142+ java-version : ' 25 ' # This action actually installs several and the toolchains plugin in maven will select 25 alright, but this makes 25 the 'default '
143143 distribution : ' temurin'
144144 cache : ' maven'
145145
@@ -158,7 +158,7 @@ jobs:
158158 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
159159 SPRING_AI_OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
160160 run : |
161- ./mvnw --batch-mode --no-snapshot-updates \
161+ ./mvnw --batch-mode -ntp - -no-snapshot-updates \
162162 -pl models/spring-ai-google-genai,auto-configurations/models/spring-ai-autoconfigure-model-google-genai,mcp/common,mcp/mcp-annotations-spring,auto-configurations/mcp/spring-ai-autoconfigure-mcp-client-common,auto-configurations/mcp/spring-ai-autoconfigure-mcp-client-httpclient,auto-configurations/mcp/spring-ai-autoconfigure-mcp-client-webflux,auto-configurations/mcp/spring-ai-autoconfigure-mcp-server-common,auto-configurations/mcp/spring-ai-autoconfigure-mcp-server-webmvc,auto-configurations/mcp/spring-ai-autoconfigure-mcp-server-webflux,vector-stores/spring-ai-chroma-store,vector-stores/spring-ai-pgvector-store,spring-ai-integration-tests \
163163 -Pci-fast-integration-tests \
164164 -Dfailsafe.rerunFailingTestsCount=3 \
@@ -173,10 +173,10 @@ jobs:
173173 - name : Checkout source code
174174 uses : actions/checkout@v4
175175
176- - name : Set up JDK 17
176+ - name : Set up JDK
177177 uses : actions/setup-java@v4
178178 with :
179- java-version : ' 17 '
179+ java-version : ' 25 '
180180 distribution : ' temurin'
181181 cache : ' maven'
182182
@@ -187,11 +187,11 @@ jobs:
187187 path : ~/.m2/repository
188188
189189 - name : Generate Java docs
190- run : ./mvnw --batch-mode javadoc:aggregate
190+ run : ./mvnw --batch-mode -ntp javadoc:aggregate
191191
192192 - name : Generate assembly
193193 working-directory : spring-ai-docs
194- run : ../mvnw --batch-mode assembly:single
194+ run : ../mvnw --batch-mode -ntp assembly:single
195195
196196 - name : Upload Javadoc
197197 uses : actions/upload-artifact@v4
@@ -216,10 +216,10 @@ jobs:
216216 - name : Checkout source code
217217 uses : actions/checkout@v4
218218
219- - name : Set up JDK 17
219+ - name : Set up JDK
220220 uses : actions/setup-java@v4
221221 with :
222- java-version : ' 17 '
222+ java-version : ' 25 '
223223 distribution : ' temurin'
224224 cache : ' maven'
225225
@@ -234,7 +234,7 @@ jobs:
234234 ARTIFACTORY_USERNAME : ${{ secrets.ARTIFACTORY_USERNAME }}
235235 ARTIFACTORY_PASSWORD : ${{ secrets.ARTIFACTORY_PASSWORD }}
236236 run : |
237- ./mvnw -s settings.xml --batch-mode -DskipTests deploy
237+ ./mvnw -s settings.xml --batch-mode -ntp - DskipTests deploy
238238
239239 deploy-docs :
240240 name : Deploy documentation
@@ -245,10 +245,10 @@ jobs:
245245 - name : Checkout source code
246246 uses : actions/checkout@v4
247247
248- - name : Set up JDK 17
248+ - name : Set up JDK
249249 uses : actions/setup-java@v4
250250 with :
251- java-version : ' 17 '
251+ java-version : ' 25 '
252252 distribution : ' temurin'
253253 cache : ' maven'
254254
0 commit comments