Browse Source

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

- there was a binary conflict between different version of netty
Edgar Espina 5 years ago
parent
commit
7d35e421da
1 changed files with 24 additions and 3 deletions
  1. 24 3
      frameworks/Java/jooby/pom.xml

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

@@ -162,10 +162,31 @@
 
 
     <profile>
     <profile>
       <id>netty</id>
       <id>netty</id>
-      <properties>
-        <netty.version>4.1.34.Final</netty.version>
-      </properties>
       <dependencies>
       <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>
         <dependency>
           <groupId>io.netty</groupId>
           <groupId>io.netty</groupId>
           <artifactId>netty-transport-native-kqueue</artifactId>
           <artifactId>netty-transport-native-kqueue</artifactId>