Skip to content

Commit 65e96e0

Browse files
Add Netty dependencies to pom.xml
1 parent 10918a2 commit 65e96e0

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
21
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
32
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
@@ -53,11 +52,34 @@
5352
</repositories>
5453

5554
<dependencies>
55+
<dependency>
56+
<groupId>io.netty</groupId>
57+
<artifactId>netty-all</artifactId>
58+
<version>4.2.12.Final</version>
59+
<scope>compile</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>io.netty</groupId>
63+
<artifactId>netty-codec-haproxy</artifactId>
64+
<version>4.2.12.Final</version>
65+
<scope>compile</scope>
66+
<optional>true</optional>
67+
</dependency>
5668
<dependency>
5769
<groupId>com.github.GeyserMC</groupId>
5870
<artifactId>packetlib</artifactId>
5971
<version>1.8</version>
6072
<scope>compile</scope>
73+
<exclusions>
74+
<exclusion>
75+
<groupId>io.netty</groupId>
76+
<artifactId>netty-all</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>io.netty</groupId>
80+
<artifactId>netty-codec-haproxy</artifactId>
81+
</exclusion>
82+
</exclusions>
6183
</dependency>
6284
<dependency>
6385
<groupId>com.alibaba.fastjson2</groupId>

0 commit comments

Comments
 (0)