Skip to content

Commit f0a4b44

Browse files
authored
Cleanup jackson dependencies: (#9067)
1 parent e92147b commit f0a4b44

File tree

10 files changed

+4
-351
lines changed
  • pinot-broker
  • pinot-connectors
    • pinot-spark-connector
    • prestodb-pinot-dependencies/presto-pinot-driver
  • pinot-controller
  • pinot-plugins
    • pinot-batch-ingestion
      • pinot-batch-ingestion-spark-2.4
      • pinot-batch-ingestion-spark-3.2
      • v0_deprecated/pinot-spark
    • pinot-stream-ingestion/pinot-kafka-2.0
  • pinot-server

10 files changed

+4
-351
lines changed

pinot-broker/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,10 @@
8383
<groupId>io.swagger</groupId>
8484
<artifactId>swagger-jaxrs</artifactId>
8585
<exclusions>
86-
<exclusion>
87-
<groupId>com.fasterxml.jackson.jaxrs</groupId>
88-
<artifactId>jackson-jaxrs-json-provider</artifactId>
89-
</exclusion>
90-
<exclusion>
91-
<groupId>com.fasterxml.jackson.module</groupId>
92-
<artifactId>jackson-module-jaxb-annotations</artifactId>
93-
</exclusion>
9486
<exclusion>
9587
<groupId>javax.ws.rs</groupId>
9688
<artifactId>jsr311-api</artifactId>
9789
</exclusion>
98-
<exclusion>
99-
<groupId>com.fasterxml.jackson.core</groupId>
100-
<artifactId>jackson-databind</artifactId>
101-
</exclusion>
10290
</exclusions>
10391
</dependency>
10492
<dependency>

pinot-connectors/pinot-spark-connector/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
<spark.version>2.4.5</spark.version>
3737
<circe.version>0.13.0</circe.version>
3838
<paranameter.version>2.8</paranameter.version>
39-
<jackson.module.scala.version>2.12.7</jackson.module.scala.version>
4039
<scalaxml.version>1.3.0</scalaxml.version>
4140
<scalatest.version>3.1.1</scalatest.version>
4241
<shadeBase>org.apache.pinot.\$internal</shadeBase>
@@ -64,7 +63,6 @@
6463
<dependency>
6564
<groupId>com.fasterxml.jackson.module</groupId>
6665
<artifactId>jackson-module-scala_${scala.compat.version}</artifactId>
67-
<version>${jackson.module.scala.version}</version>
6866
<exclusions>
6967
<exclusion>
7068
<groupId>com.thoughtworks.paranamer</groupId>
@@ -101,10 +99,6 @@
10199
<groupId>com.thoughtworks.paranamer</groupId>
102100
<artifactId>paranamer</artifactId>
103101
</exclusion>
104-
<exclusion>
105-
<groupId>com.fasterxml.jackson.module</groupId>
106-
<artifactId>jackson-module-scala_${scala.compat.version}</artifactId>
107-
</exclusion>
108102
<exclusion>
109103
<groupId>org.scala-lang.modules</groupId>
110104
<artifactId>scala-xml_${scala.compat.version}</artifactId>

pinot-connectors/prestodb-pinot-dependencies/presto-pinot-driver/pom.xml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,6 @@
100100
<groupId>org.codehaus.jackson</groupId>
101101
<artifactId>jackson-mapper-asl</artifactId>
102102
</exclusion>
103-
<exclusion>
104-
<groupId>com.fasterxml.jackson.core</groupId>
105-
<artifactId>jackson-databind</artifactId>
106-
</exclusion>
107-
<exclusion>
108-
<groupId>com.fasterxml.jackson.core</groupId>
109-
<artifactId>jackson-core</artifactId>
110-
</exclusion>
111-
<exclusion>
112-
<groupId>com.fasterxml.jackson.core</groupId>
113-
<artifactId>jackson-annotations</artifactId>
114-
</exclusion>
115103
<exclusion>
116104
<groupId>javax.validation</groupId>
117105
<artifactId>validation-api</artifactId>
@@ -199,18 +187,6 @@
199187
<groupId>log4j</groupId>
200188
<artifactId>log4j</artifactId>
201189
</exclusion>
202-
<exclusion>
203-
<groupId>com.fasterxml.jackson.core</groupId>
204-
<artifactId>jackson-databind</artifactId>
205-
</exclusion>
206-
<exclusion>
207-
<groupId>com.fasterxml.jackson.core</groupId>
208-
<artifactId>jackson-core</artifactId>
209-
</exclusion>
210-
<exclusion>
211-
<groupId>com.fasterxml.jackson.core</groupId>
212-
<artifactId>jackson-annotations</artifactId>
213-
</exclusion>
214190
<exclusion>
215191
<groupId>javax.validation</groupId>
216192
<artifactId>validation-api</artifactId>
@@ -311,18 +287,6 @@
311287
<groupId>org.codehaus.jackson</groupId>
312288
<artifactId>jackson-mapper-asl</artifactId>
313289
</exclusion>
314-
<exclusion>
315-
<groupId>com.fasterxml.jackson.core</groupId>
316-
<artifactId>jackson-databind</artifactId>
317-
</exclusion>
318-
<exclusion>
319-
<groupId>com.fasterxml.jackson.core</groupId>
320-
<artifactId>jackson-core</artifactId>
321-
</exclusion>
322-
<exclusion>
323-
<groupId>com.fasterxml.jackson.core</groupId>
324-
<artifactId>jackson-annotations</artifactId>
325-
</exclusion>
326290
<exclusion>
327291
<groupId>javax.validation</groupId>
328292
<artifactId>validation-api</artifactId>
@@ -394,14 +358,6 @@
394358
<groupId>org.codehaus.jackson</groupId>
395359
<artifactId>jackson-mapper-asl</artifactId>
396360
</exclusion>
397-
<exclusion>
398-
<groupId>com.fasterxml.jackson.core</groupId>
399-
<artifactId>jackson-databind</artifactId>
400-
</exclusion>
401-
<exclusion>
402-
<groupId>com.fasterxml.jackson.core</groupId>
403-
<artifactId>jackson-annotations</artifactId>
404-
</exclusion>
405361
<exclusion>
406362
<groupId>javax.validation</groupId>
407363
<artifactId>validation-api</artifactId>

pinot-controller/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,22 +137,10 @@
137137
<groupId>io.swagger</groupId>
138138
<artifactId>swagger-jaxrs</artifactId>
139139
<exclusions>
140-
<exclusion>
141-
<groupId>com.fasterxml.jackson.jaxrs</groupId>
142-
<artifactId>jackson-jaxrs-json-provider</artifactId>
143-
</exclusion>
144-
<exclusion>
145-
<groupId>com.fasterxml.jackson.module</groupId>
146-
<artifactId>jackson-module-jaxb-annotations</artifactId>
147-
</exclusion>
148140
<exclusion>
149141
<groupId>javax.ws.rs</groupId>
150142
<artifactId>jsr311-api</artifactId>
151143
</exclusion>
152-
<exclusion>
153-
<groupId>com.fasterxml.jackson.core</groupId>
154-
<artifactId>jackson-databind</artifactId>
155-
</exclusion>
156144
</exclusions>
157145
</dependency>
158146
<dependency>

pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-spark-2.4/pom.xml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<scala.major.version>2.11</scala.major.version>
4040
<spark.version>2.4.0</spark.version>
4141
<scala.minor.version>2.11.11</scala.minor.version>
42-
<spark2.jackson.version>2.6.7</spark2.jackson.version>
4342
</properties>
4443

4544
<dependencies>
@@ -94,18 +93,6 @@
9493
<groupId>jakarta.ws.rs</groupId>
9594
<artifactId>jakarta.ws.rs-api</artifactId>
9695
</exclusion>
97-
<exclusion>
98-
<groupId>com.fasterxml.jackson.core</groupId>
99-
<artifactId>jackson-databind</artifactId>
100-
</exclusion>
101-
<exclusion>
102-
<groupId>com.fasterxml.jackson.core</groupId>
103-
<artifactId>jackson-annotations</artifactId>
104-
</exclusion>
105-
<exclusion>
106-
<groupId>com.fasterxml.jackson.core</groupId>
107-
<artifactId>jackson-core</artifactId>
108-
</exclusion>
10996
<exclusion>
11097
<groupId>io.netty</groupId>
11198
<artifactId>netty</artifactId>
@@ -172,52 +159,12 @@
172159
</exclusion>
173160
</exclusions>
174161
</dependency>
175-
<dependency>
176-
<groupId>com.fasterxml.jackson.core</groupId>
177-
<artifactId>jackson-core</artifactId>
178-
<version>${spark2.jackson.version}</version>
179-
<scope>test</scope>
180-
</dependency>
181-
<dependency>
182-
<groupId>com.fasterxml.jackson.core</groupId>
183-
<artifactId>jackson-databind</artifactId>
184-
<version>${spark2.jackson.version}</version>
185-
<scope>test</scope>
186-
<exclusions>
187-
<exclusion>
188-
<groupId>com.fasterxml.jackson.core</groupId>
189-
<artifactId>jackson-annotations</artifactId>
190-
</exclusion>
191-
<exclusion>
192-
<groupId>com.fasterxml.jackson.core</groupId>
193-
<artifactId>jackson-core</artifactId>
194-
</exclusion>
195-
</exclusions>
196-
</dependency>
197-
<dependency>
198-
<groupId>com.fasterxml.jackson.core</groupId>
199-
<artifactId>jackson-annotations</artifactId>
200-
<version>${spark2.jackson.version}</version>
201-
<scope>test</scope>
202-
</dependency>
203162
<dependency>
204163
<groupId>org.apache.pinot</groupId>
205164
<artifactId>pinot-common</artifactId>
206165
<version>${project.version}</version>
207166
<scope>provided</scope>
208167
<exclusions>
209-
<exclusion>
210-
<groupId>com.fasterxml.jackson.core</groupId>
211-
<artifactId>jackson-databind</artifactId>
212-
</exclusion>
213-
<exclusion>
214-
<groupId>com.fasterxml.jackson.core</groupId>
215-
<artifactId>jackson-annotations</artifactId>
216-
</exclusion>
217-
<exclusion>
218-
<groupId>com.fasterxml.jackson.core</groupId>
219-
<artifactId>jackson-core</artifactId>
220-
</exclusion>
221168
<exclusion>
222169
<groupId>org.apache.commons</groupId>
223170
<artifactId>commons-lang3</artifactId>
@@ -230,18 +177,6 @@
230177
<version>${project.version}</version>
231178
<scope>provided</scope>
232179
<exclusions>
233-
<exclusion>
234-
<groupId>com.fasterxml.jackson.core</groupId>
235-
<artifactId>jackson-databind</artifactId>
236-
</exclusion>
237-
<exclusion>
238-
<groupId>com.fasterxml.jackson.core</groupId>
239-
<artifactId>jackson-annotations</artifactId>
240-
</exclusion>
241-
<exclusion>
242-
<groupId>com.fasterxml.jackson.core</groupId>
243-
<artifactId>jackson-core</artifactId>
244-
</exclusion>
245180
<exclusion>
246181
<groupId>org.apache.commons</groupId>
247182
<artifactId>commons-lang3</artifactId>

pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-spark-3.2/pom.xml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<scala.major.version>2.12</scala.major.version>
4040
<spark.version>3.2.1</spark.version>
4141
<scala.minor.version>2.12.15</scala.minor.version>
42-
<spark3.jackson.version>2.12.7</spark3.jackson.version>
4342
<commons-lang3.version>3.11</commons-lang3.version>
4443
</properties>
4544

@@ -95,18 +94,6 @@
9594
<groupId>jakarta.ws.rs</groupId>
9695
<artifactId>jakarta.ws.rs-api</artifactId>
9796
</exclusion>
98-
<exclusion>
99-
<groupId>com.fasterxml.jackson.core</groupId>
100-
<artifactId>jackson-databind</artifactId>
101-
</exclusion>
102-
<exclusion>
103-
<groupId>com.fasterxml.jackson.core</groupId>
104-
<artifactId>jackson-annotations</artifactId>
105-
</exclusion>
106-
<exclusion>
107-
<groupId>com.fasterxml.jackson.core</groupId>
108-
<artifactId>jackson-core</artifactId>
109-
</exclusion>
11097
<exclusion>
11198
<groupId>org.apache.commons</groupId>
11299
<artifactId>commons-lang3</artifactId>
@@ -134,29 +121,16 @@
134121
<dependency>
135122
<groupId>com.fasterxml.jackson.core</groupId>
136123
<artifactId>jackson-core</artifactId>
137-
<version>${spark3.jackson.version}</version>
138124
<scope>test</scope>
139125
</dependency>
140126
<dependency>
141127
<groupId>com.fasterxml.jackson.core</groupId>
142128
<artifactId>jackson-databind</artifactId>
143-
<version>${spark3.jackson.version}</version>
144129
<scope>test</scope>
145-
<exclusions>
146-
<exclusion>
147-
<groupId>com.fasterxml.jackson.core</groupId>
148-
<artifactId>jackson-annotations</artifactId>
149-
</exclusion>
150-
<exclusion>
151-
<groupId>com.fasterxml.jackson.core</groupId>
152-
<artifactId>jackson-core</artifactId>
153-
</exclusion>
154-
</exclusions>
155130
</dependency>
156131
<dependency>
157132
<groupId>com.fasterxml.jackson.core</groupId>
158133
<artifactId>jackson-annotations</artifactId>
159-
<version>${spark3.jackson.version}</version>
160134
<scope>test</scope>
161135
</dependency>
162136

@@ -173,18 +147,6 @@
173147
<version>${project.version}</version>
174148
<scope>provided</scope>
175149
<exclusions>
176-
<exclusion>
177-
<groupId>com.fasterxml.jackson.core</groupId>
178-
<artifactId>jackson-databind</artifactId>
179-
</exclusion>
180-
<exclusion>
181-
<groupId>com.fasterxml.jackson.core</groupId>
182-
<artifactId>jackson-annotations</artifactId>
183-
</exclusion>
184-
<exclusion>
185-
<groupId>com.fasterxml.jackson.core</groupId>
186-
<artifactId>jackson-core</artifactId>
187-
</exclusion>
188150
<exclusion>
189151
<groupId>org.apache.commons</groupId>
190152
<artifactId>commons-lang3</artifactId>
@@ -197,18 +159,6 @@
197159
<version>${project.version}</version>
198160
<scope>provided</scope>
199161
<exclusions>
200-
<exclusion>
201-
<groupId>com.fasterxml.jackson.core</groupId>
202-
<artifactId>jackson-databind</artifactId>
203-
</exclusion>
204-
<exclusion>
205-
<groupId>com.fasterxml.jackson.core</groupId>
206-
<artifactId>jackson-annotations</artifactId>
207-
</exclusion>
208-
<exclusion>
209-
<groupId>com.fasterxml.jackson.core</groupId>
210-
<artifactId>jackson-core</artifactId>
211-
</exclusion>
212162
<exclusion>
213163
<groupId>org.apache.commons</groupId>
214164
<artifactId>commons-lang3</artifactId>

0 commit comments

Comments
 (0)