Skip to content

Commit d9a7e8e

Browse files
Add OkHttp BOM to root POM for centralized dependency management (#305)
* Add OkHttp BOM to manage okhttp and mockwebserver versions Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com> * Remove OkHttp BOM from xapi-client/pom.xml - managed in root POM Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com> Co-authored-by: Thomas Turrell-Croft <thomasturrell@users.noreply.github.com>
1 parent 56f8c8c commit d9a7e8e

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<checkstyle.version>10.6.0</checkstyle.version>
2222
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
2323
<jjwt.version>0.12.6</jjwt.version>
24+
<okhttp.version>5.3.0</okhttp.version>
2425
</properties>
2526
<organization>
2627
<name>Berry Cloud Ltd</name>
@@ -259,6 +260,13 @@
259260
</build>
260261
<dependencyManagement>
261262
<dependencies>
263+
<dependency>
264+
<groupId>com.squareup.okhttp3</groupId>
265+
<artifactId>okhttp-bom</artifactId>
266+
<version>${okhttp.version}</version>
267+
<type>pom</type>
268+
<scope>import</scope>
269+
</dependency>
262270
<dependency>
263271
<groupId>dev.learning.xapi</groupId>
264272
<artifactId>xapi-model</artifactId>

xapi-client/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@
1212
<name>xAPI Client</name>
1313
<description>learning.dev xAPI Client</description>
1414

15-
<dependencyManagement>
16-
<dependencies>
17-
<dependency>
18-
<groupId>com.squareup.okhttp3</groupId>
19-
<artifactId>okhttp-bom</artifactId>
20-
<version>4.12.0</version>
21-
<type>pom</type>
22-
<scope>import</scope>
23-
</dependency>
24-
</dependencies>
25-
</dependencyManagement>
26-
2715
<dependencies>
2816
<dependency>
2917
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)