8000 Use Jackson BOM · docker-java/docker-java@32c78c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32c78c7

Browse files
committed
Use Jackson BOM
1 parent 20f0831 commit 32c78c7

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

docker-java-transport-jersey/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<dependency>
3030
<groupId>com.fasterxml.jackson.jaxrs</groupId>
3131
<artifactId>jackson-jaxrs-json-provider</artifactId>
32-
<version>${jackson-jaxrs.version}</version>
3332
</dependency>
3433
<dependency>
3534
<groupId>org.glassfish.jersey.connectors</groupId>

docker-java/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,12 @@
125125
<dependency>
126126
<groupId>com.fasterxml.jackson.core</groupId>
127127
<artifactId>jackson-databind</artifactId>
128-
<!-- Force the version to 2.18.3 to ensure the compatibility with old projects -->
129-
<version>2.18.3</version>
130128
<scope>test</scope>
131129
</dependency>
132130

133131
<dependency>
134132
<groupId>com.fasterxml.jackson.core</groupId>
135133
<artifactId>jackson-annotations</artifactId>
136-
<!-- Force the version to 2.18.3 to ensure the compatibility with old projects -->
137-
<version>2.18.3</version>
138134
<scope>test</scope>
139135
</dependency>
140136

pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
<jdk.target>1.8</jdk.target>
5959

6060
<jersey.version>2.30.1</jersey.version>
61-
<jackson.version>2.18.3</jackson.version>
62-
<jackson-jaxrs.version>2.18.3</jackson-jaxrs.version>
61+
<jackson.version>2.18.3</jackson.version> <!-- Force the version to 2.18.3 to ensure the compatibility with old projects -->
6362
<httpclient.version>4.5.12</httpclient.version><!-- 4.5.1-4.5.2 broken -->
6463
<commons-compress.version>1.27.1</commons-compress.version>
6564
<commons-io.version>2.18.0</commons-io.version>
@@ -104,6 +103,18 @@
104103
<module>docker-java</module>
105104
</modules>
106105

106+
<dependencyManagement>
107+
<dependencies>
108+
<dependency>
109+
<groupId>com.fasterxml.jackson</groupId>
110+
<artifactId>jackson-bom</artifactId>
111+
<version>${jackson.version}</version>
112+
<scope>import</scope>
113+
<type>pom</type>
114+
</dependency>
115+
</dependencies>
116+
</dependencyManagement>
117+
107118
<build>
108119
<pluginManagement>
109120
<plugins>

0 commit comments

Comments
 (0)
0