소스 검색

fix jooby classpath while using netty with pgclient (#5441)

- there was a binary conflict between different version of netty
Edgar Espina 5 년 전
부모
커밋
7d35e421da
1개의 변경된 파일24개의 추가작업 그리고 3개의 파일을 삭제
  1. 24 3
      frameworks/Java/jooby/pom.xml

+ 24 - 3
frameworks/Java/jooby/pom.xml

@@ -162,10 +162,31 @@
 
     <profile>
       <id>netty</id>
-      <properties>
-        <netty.version>4.1.34.Final</netty.version>
-      </properties>
       <dependencies>
+        <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-buffer</artifactId>
+          <version>${netty.version}</version>
+        </dependency>
+
+        <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-handler</artifactId>
+          <version>${netty.version}</version>
+        </dependency>
+
+        <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-codec-http</artifactId>
+          <version>${netty.version}</version>
+        </dependency>
+
+        <dependency>
+          <groupId>io.netty</groupId>
+          <artifactId>netty-transport-native-epoll</artifactId>
+          <version>${netty.version}</version>
+        </dependency>
+
         <dependency>
           <groupId>io.netty</groupId>
           <artifactId>netty-transport-native-kqueue</artifactId>