Skip to content

Commit 93f7991

Browse files
committed
Update vertx transport section to use io_uring on Linux
1 parent 0a1360e commit 93f7991

File tree

1 file changed

+90
-14
lines changed

1 file changed

+90
-14
lines changed

frameworks/Java/vertx/pom.xml

Lines changed: 90 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,6 @@
4141
<artifactId>jsonsergen</artifactId>
4242
<version>0.0.5</version>
4343
</dependency>
44-
<dependency>
45-
<groupId>io.netty</groupId>
46-
<artifactId>netty-transport-native-kqueue</artifactId>
47-
<version>${netty.version}</version>
48-
<classifier>osx-x86_64</classifier>
49-
</dependency>
50-
<dependency>
51-
<groupId>io.netty</groupId>
52-
<artifactId>netty-transport-native-epoll</artifactId>
53-
<version>${netty.version}</version>
54-
<classifier>linux-x86_64</classifier>
55-
</dependency>
5644
<dependency>
5745
<groupId>com.github.ben-manes.caffeine</groupId>
5846
<artifactId>caffeine</artifactId>
@@ -149,9 +137,30 @@
149137

150138
<profiles>
151139
<profile>
152-
<id>Linux</id>
140+
<id>linux-x86_64</id>
141+
<activation>
142+
<os>
143+
<family>linux</family>
144+
<arch>x86_64</arch>
145+
</os>
146+
</activation>
147+
<dependencies>
148+
<dependency>
149+
<groupId>io.netty</groupId>
150+
<artifactId>netty-transport-native-io_uring</artifactId>
151+
<version>${netty.version}</version>
152+
<classifier>linux-x86_64</classifier>
153+
</dependency>
154+
</dependencies>
155+
</profile>
156+
157+
<profile>
158+
<id>linux-amd64</id>
153159
<activation>
154-
<activeByDefault>false</activeByDefault>
160+
<os>
161+
<family>linux</family>
162+
<arch>amd64</arch>
163+
</os>
155164
</activation>
156165
<dependencies>
157166
<dependency>
@@ -162,6 +171,73 @@
162171
</dependency>
163172
</dependencies>
164173
</profile>
174+
175+
<profile>
176+
<id>linux-aarch64</id>
177+
<activation>
178+
<os>
179+
<family>linux</family>
180+
<arch>aarch64</arch>
181+
</os>
182+
</activation>
183+
<dependencies>
184+
<dependency>
185+
<groupId>io.netty</groupId>
186+
<artifactId>netty-transport-native-io_uring</artifactId>
187+
<version>${netty.version}</version>
188+
<classifier>linux-aarch_64</classifier>
189+
</dependency>
190+
</dependencies>
191+
</profile>
192+
193+
<profile>
194+
<id>osx-x86_64</id>
195+
<activation>
196+
<os>
197+
<family>mac</family>
198+
<arch>x86_64</arch>
199+
</os>
200+
</activation>
201+
<dependencies>
202+
<dependency>
203+
<groupId>io.netty</groupId>
204+
<artifactId>netty-resolver-dns-native-macos</artifactId>
205+
<version>${netty.version}</version>
206+
<classifier>osx-x86_64</classifier>
207+
</dependency>
208+
<dependency>
209+
<groupId>io.netty</groupId>
210+
<artifactId>netty-transport-native-kqueue</artifactId>
211+
<version>${netty.version}</version>
212+
<classifier>osx-x86_64</classifier>
213+
</dependency>
214+
</dependencies>
215+
</profile>
216+
217+
<profile>
218+
<id>osx-aarch64</id>
219+
<activation>
220+
<os>
221+
<family>mac</family>
222+
<arch>aarch64</arch>
223+
</os>
224+
</activation>
225+
<dependencies>
226+
<dependency>
227+
<groupId>io.netty</groupId>
228+
<artifactId>netty-resolver-dns-native-macos</artifactId>
229+
<version>${netty.version}</version>
230+
<classifier>osx-aarch_64</classifier>
231+
</dependency>
232+
<dependency>
233+
<groupId>io.netty</groupId>
234+
<artifactId>netty-transport-native-kqueue</artifactId>
235+
<version>${netty.version}</version>
236+
<classifier>osx-aarch_64</classifier>
237+
</dependency>
238+
</dependencies>
239+
</profile>
240+
165241
</profiles>
166242

167243
</project>

0 commit comments

Comments
 (0)