@@ -76,15 +76,28 @@ under the License.
76
76
<java .version>1.8</java .version>
77
77
<spotless-maven-plugin .version>1.20.0</spotless-maven-plugin .version>
78
78
<auto-service .version>1.0-rc6</auto-service .version>
79
- <protobuf .version>3.7.1 </protobuf .version>
80
- <unixsocket .version>2.3 .2</unixsocket .version>
81
- <protoc-jar-maven-plugin .version>3.11.1 </protoc-jar-maven-plugin .version>
82
- <flink .version>1.15.2 </flink .version>
79
+ <protobuf .version>3.23.2 </protobuf .version>
80
+ <unixsocket .version>2.6 .2</unixsocket .version>
81
+ <protoc-jar-maven-plugin .version>3.11.4 </protoc-jar-maven-plugin .version>
82
+ <flink .version>1.17.1 </flink .version>
83
83
<scala .binary.version>2.12</scala .binary.version>
84
84
<scala .version>2.12.7</scala .version>
85
85
<lz4-java .version>1.8.0</lz4-java .version>
86
- <flink-shaded-jackson .version>2.12.4-15 .0</flink-shaded-jackson .version>
86
+ <flink-shaded-jackson .version>2.14.2-17 .0</flink-shaded-jackson .version>
87
87
<slf4j-log4j12 .version>1.7.32</slf4j-log4j12 .version>
88
+ <flink-connector-kinesis .version>4.1.0-1.17</flink-connector-kinesis .version>
89
+ <flink-connector-aws-kinesis-streams .version>4.1.0-1.17</flink-connector-aws-kinesis-streams .version>
90
+ <okhttp .version>3.14.6</okhttp .version>
91
+ <flink-shaded-netty .version>4.1.82.Final-16.1</flink-shaded-netty .version>
92
+ <junit .version>4.12</junit .version>
93
+ <hamcrest-all .version>1.3</hamcrest-all .version>
94
+ <kryo .version>2.24.0</kryo .version>
95
+ <jackson-databind .version>2.13.2.2</jackson-databind .version>
96
+ <flink-shaded-netty .version>4.1.82.Final-16.1</flink-shaded-netty .version>
97
+ <flink-shaded-force-shading .version>16.1</flink-shaded-force-shading .version>
98
+ <commons-codec .version>1.15</commons-codec .version>
99
+ <commons-logging .version>1.2</commons-logging .version>
100
+ <slf4j-api .version>1.7.36</slf4j-api .version>
88
101
<test .unit.pattern>**/*Test.*</test .unit.pattern>
89
102
</properties >
90
103
@@ -101,15 +114,20 @@ under the License.
101
114
<dependency >
102
115
<groupId >junit</groupId >
103
116
<artifactId >junit</artifactId >
104
- <version >4.12 </version >
117
+ <version >${junit.version} </version >
105
118
<scope >test</scope >
106
119
</dependency >
107
120
<dependency >
108
121
<groupId >org.hamcrest</groupId >
109
122
<artifactId >hamcrest-all</artifactId >
110
- <version >1.3 </version >
123
+ <version >${hamcrest-all.version} </version >
111
124
<scope >test</scope >
112
125
</dependency >
126
+ <dependency >
127
+ <groupId >com.google.protobuf</groupId >
128
+ <artifactId >protobuf-java</artifactId >
129
+ <version >${protobuf.version} </version >
130
+ </dependency >
113
131
<!--
114
132
Resolve dependency convergence issue:
115
133
flink-core:1.15.2 depends on kryo:2.24.0
@@ -118,7 +136,7 @@ under the License.
118
136
<dependency >
119
137
<groupId >com.esotericsoftware.kryo</groupId >
120
138
<artifactId >kryo</artifactId >
121
- <version >2.24.0 </version >
139
+ <version >${kryo.version} </version >
122
140
</dependency >
123
141
<!--
124
142
Resolve dependency convergence issue:
@@ -129,7 +147,66 @@ under the License.
129
147
<dependency >
130
148
<groupId >com.fasterxml.jackson.core</groupId >
131
149
<artifactId >jackson-databind</artifactId >
132
- <version >2.13.2.2</version >
150
+ <version >${jackson-databind.version} </version >
151
+ </dependency >
152
+ <!--
153
+ Resolve dependency convergence issue:
154
+ org.apache.flink:flink-streaming-java:1.17.1 depends on org.apache.flink:flink-shaded-netty:4.1.82.Final-16.1
155
+ org.apache.flink:statefun-flink-core:3.4-SNAPSHOT depends on org.apache.flink:flink-shaded-netty:4.1.70.Final-15.0
156
+ (via com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.13.2)
157
+ -->
158
+ <dependency >
159
+ <groupId >org.apache.flink</groupId >
160
+ <artifactId >flink-shaded-netty</artifactId >
161
+ <version >${flink-shaded-netty.version} </version >
162
+ </dependency >
163
+
164
+ <dependency >
165
+ <groupId >org.apache.flink</groupId >
166
+ <artifactId >flink-core</artifactId >
167
+ <version >${flink.version} </version >
168
+ </dependency >
169
+
170
+ <dependency >
171
+ <groupId >org.apache.flink</groupId >
172
+ <artifactId >flink-table-common</artifactId >
173
+ <version >${flink.version} </version >
174
+ </dependency >
175
+
176
+ <dependency >
177
+ <groupId >org.apache.flink</groupId >
178
+ <artifactId >flink-connector-base</artifactId >
179
+ <version >${flink.version} </version >
180
+ </dependency >
181
+
182
+ <dependency >
183
+ <groupId >org.apache.flink</groupId >
184
+ <artifactId >flink-shaded-force-shading</artifactId >
185
+ <version >${flink-shaded-force-shading.version} </version >
186
+ </dependency >
187
+
188
+ <dependency >
189
+ <groupId >org.apache.flink</groupId >
190
+ <artifactId >flink-shaded-jackson</artifactId >
191
+ <version >${flink-shaded-jackson.version} </version >
192
+ </dependency >
193
+
194
+ <dependency >
195
+ <groupId >commons-codec</groupId >
196
+ <artifactId >commons-codec</artifactId >
197
+ <version >${commons-codec.version} </version >
198
+ </dependency >
199
+
200
+ <dependency >
201
+ <groupId >commons-logging</groupId >
202
+ <artifactId >commons-logging</artifactId >
203
+ <version >${commons-logging.version} </version >
204
+ </dependency >
205
+
206
+ <dependency >
207
+ <groupId >org.slf4j</groupId >
208
+ <artifactId >slf4j-api</artifactId >
209
+ <version >${slf4j-api.version} </version >
133
210
</dependency >
134
211
</dependencies >
135
212
</dependencyManagement >
@@ -234,10 +311,12 @@ under the License.
234
311
<outputTarget >
235
312
<type >descriptor</type >
236
313
<outputDirectory >${basedir} /target/test-classes</outputDirectory >
314
+ <addSources >main</addSources >
237
315
</outputTarget >
238
316
<outputTarget >
239
317
<type >java</type >
240
318
<outputDirectory >${basedir} /target/generated-test-sources/protoc-jar</outputDirectory >
319
+ <addSources >test</addSources >
241
320
</outputTarget >
242
321
</outputTargets >
243
322
</configuration >
@@ -412,4 +491,3 @@ under the License.
412
491
</plugins >
413
492
</build >
414
493
</project >
415
-
0 commit comments