Skip to content

Commit 866fe37

Browse files
committed
Exclude Jackson from transitive dependencies
1 parent d55a091 commit 866fe37

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

spring-batch-infrastructure/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@
7070
<artifactId>neo4j-ogm-core</artifactId>
7171
<version>${neo4j-ogm-core.version}</version>
7272
<optional>true</optional>
73+
<exclusions>
74+
<exclusion>
75+
<groupId>com.fasterxml.jackson.datatype</groupId>
76+
<artifactId>jackson-datatype-jdk8</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>com.fasterxml.jackson.datatype</groupId>
80+
<artifactId>jackson-datatype-jsr310</artifactId>
81+
</exclusion>
82+
</exclusions>
7383
</dependency>
7484
<dependency>
7585
<groupId>org.springframework.kafka</groupId>
@@ -318,6 +328,20 @@
318328
<artifactId>spring-kafka-test</artifactId>
319329
<version>${spring-kafka.version}</version>
320330
<scope>test</scope>
331+
<exclusions>
332+
<exclusion>
333+
<groupId>com.fasterxml.jackson.module</groupId>
334+
<artifactId>jackson-module-scala_2.13</artifactId>
335+
</exclusion>
336+
<exclusion>
337+
<groupId>com.fasterxml.jackson.dataformat</groupId>
338+
<artifactId>jackson-dataformat-csv</artifactId>
339+
</exclusion>
340+
<exclusion>
341+
<groupId>com.fasterxml.jackson.datatype</groupId>
342+
<artifactId>jackson-datatype-jdk8</artifactId>
343+
</exclusion>
344+
</exclusions>
321345
</dependency>
322346
<dependency>
323347
<groupId>org.springframework</groupId>

spring-batch-test/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@
109109
<groupId>org.junit.jupiter</groupId>
110110
<artifactId>junit-jupiter</artifactId>
111111
</exclusion>
112+
<exclusion>
113+
<groupId>com.fasterxml.jackson.core</groupId>
114+
<artifactId>jackson-databind</artifactId>
115+
</exclusion>
116+
<exclusion>
117+
<groupId>com.fasterxml.jackson.core</groupId>
118+
<artifactId>jackson-annotations</artifactId>
119+
</exclusion>
120+
<exclusion>
121+
<groupId>com.fasterxml.jackson.dataformat</groupId>
122+
<artifactId>jackson-dataformat-yaml</artifactId>
123+
</exclusion>
112124
</exclusions>
113125
</dependency>
114126
<dependency>

0 commit comments

Comments
 (0)