File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 6969 <dependency >
7070 <groupId >com.squareup.okhttp3</groupId >
7171 <artifactId >mockwebserver</artifactId >
72- <version >4.9.3</ version >
73- <!-- should be aligned with the version provided by okhttp-api-plugin -- >
72+ <!-- transitive dep of io.fabric8:kubernetes-server-mock, needs alignment with okhttp-api -- >
73+ <version >4.11.0</ version >
7474 </dependency >
7575 </dependencies >
7676 </dependencyManagement >
317317 </systemProperties >
318318 </configuration >
319319 </plugin >
320+ <plugin >
321+ <artifactId >maven-enforcer-plugin</artifactId >
322+ <executions >
323+ <execution >
324+ <id >enforce-okhttp-consistency</id >
325+ <goals >
326+ <goal >enforce</goal >
327+ </goals >
328+ <configuration >
329+ <rules >
330+ <requireSameVersions >
331+ <dependencies >
332+ <dependency >com.squareup.okhttp3:mockwebserver</dependency >
333+ <dependency >com.squareup.okhttp3:okhttp:jar</dependency >
334+ <dependency >com.squareup.okhttp3:logging-interceptor</dependency >
335+ </dependencies >
336+ </requireSameVersions >
337+ <requireSameVersions >
338+ <dependencies >
339+ <dependency >io.fabric8:kubernetes-server-mock</dependency >
340+ <dependency >io.fabric8:kubernetes-client</dependency >
341+ </dependencies >
342+ </requireSameVersions >
343+ </rules >
344+ </configuration >
345+ </execution >
346+ </executions >
347+ </plugin >
320348 </plugins >
321349 </build >
322350
You can’t perform that action at this time.
0 commit comments