Skip to content

Commit f639895

Browse files
am.klyuevElishtar
authored andcommitted
Use netty part dependencies instead of netty-all
1 parent b1d8ed5 commit f639895

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
- Use netty part dependencies instead of netty-all ([#295](https://github.com/tarantool/cartridge-java/issues/295))
6+
57
## [0.9.2] - 2022-11-15
68

79
- Adding default mapper for long arrays ([#290](https://github.com/tarantool/cartridge-java/pull/290))

pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454

5555
<properties>
5656
<jackson.version>2.14.0</jackson.version>
57+
<netty.version>4.1.78.Final</netty.version>
5758
<checkstyle.config>${project.basedir}/src/test/resources/io/tarantool/driver/checkstyle.xml</checkstyle.config>
5859
<checkstyle.suppressions>${project.basedir}/src/test/resources/io/tarantool/driver/suppressions.xml</checkstyle.suppressions>
5960
<logging.config>${project.basedir}/src/test/resources/logback-test.xml</logging.config>
@@ -216,8 +217,28 @@
216217
<dependencies>
217218
<dependency>
218219
<groupId>io.netty</groupId>
219-
<artifactId>netty-all</artifactId>
220-
<version>4.1.78.Final</version>
220+
<artifactId>netty-transport</artifactId>
221+
<version>${netty.version}</version>
222+
</dependency>
223+
<dependency>
224+
<groupId>io.netty</groupId>
225+
<artifactId>netty-handler</artifactId>
226+
<version>${netty.version}</version>
227+
</dependency>
228+
<dependency>
229+
<groupId>io.netty</groupId>
230+
<artifactId>netty-codec</artifactId>
231+
<version>${netty.version}</version>
232+
</dependency>
233+
<dependency>
234+
<groupId>io.netty</groupId>
235+
<artifactId>netty-codec-http</artifactId>
236+
<version>${netty.version}</version>
237+
</dependency>
238+
<dependency>
239+
<groupId>io.netty</groupId>
240+
<artifactId>netty-transport</artifactId>
241+
<version>${netty.version}</version>
221242
</dependency>
222243
<dependency>
223244
<groupId>org.msgpack</groupId>
@@ -250,6 +271,12 @@
250271
<artifactId>testcontainers-java-tarantool</artifactId>
251272
<version>0.5.3</version>
252273
<scope>test</scope>
274+
<exclusions>
275+
<exclusion>
276+
<groupId>io.netty</groupId>
277+
<artifactId>netty-all</artifactId>
278+
</exclusion>
279+
</exclusions>
253280
</dependency>
254281
<dependency>
255282
<groupId>org.openjdk.jmh</groupId>

0 commit comments

Comments
 (0)