|
87 | 87 | <overwriteExistingFiles>true</overwriteExistingFiles> |
88 | 88 | <failOnWarning>false</failOnWarning> |
89 | 89 | <jdepsExtraArgs> |
| 90 | + <arg>--module-path</arg> |
| 91 | + <arg>${project.build.directory}/modules</arg> |
90 | 92 | <arg>--ignore-missing-deps</arg> |
91 | 93 | </jdepsExtraArgs> |
92 | 94 | <modules> |
|
138 | 140 | <module> |
139 | 141 | <artifact> |
140 | 142 | <groupId>io.netty</groupId> |
141 | | - <artifactId>netty-codec</artifactId> |
| 143 | + <artifactId>netty-resolver</artifactId> |
142 | 144 | </artifact> |
143 | 145 | <moduleInfo> |
144 | | - <name>io.netty.codec</name> |
| 146 | + <name>io.netty.resolver</name> |
145 | 147 | </moduleInfo> |
146 | 148 | </module> |
147 | 149 | <module> |
148 | 150 | <artifact> |
149 | 151 | <groupId>io.netty</groupId> |
150 | | - <artifactId>netty-resolver</artifactId> |
| 152 | + <artifactId>netty-transport</artifactId> |
151 | 153 | </artifact> |
152 | 154 | <moduleInfo> |
153 | | - <name>io.netty.resolver</name> |
| 155 | + <name>io.netty.transport</name> |
154 | 156 | </moduleInfo> |
155 | 157 | </module> |
156 | 158 | <module> |
157 | 159 | <artifact> |
158 | 160 | <groupId>io.netty</groupId> |
159 | | - <artifactId>netty-transport</artifactId> |
| 161 | + <artifactId>netty-codec</artifactId> |
160 | 162 | </artifact> |
161 | 163 | <moduleInfo> |
162 | | - <name>io.netty.transport</name> |
| 164 | + <name>io.netty.codec</name> |
163 | 165 | </moduleInfo> |
164 | 166 | </module> |
165 | 167 | <module> |
|
204 | 206 | <groupId>io.netty</groupId> |
205 | 207 | <artifactId>netty-transport-native-epoll</artifactId> |
206 | 208 | </artifact> |
207 | | - <!-- TODO <moduleInfo>, needs handling of native unix-common dependency --> |
208 | | - <moduleInfoSource> |
209 | | - module io.netty.channel.epoll { |
210 | | - requires io.netty.buffer; |
211 | | - requires io.netty.channel.unix; |
212 | | - requires io.netty.common; |
213 | | - requires io.netty.transport; |
214 | | - exports io.netty.channel.epoll; |
215 | | - } |
216 | | - </moduleInfoSource> |
| 209 | + <moduleInfo> |
| 210 | + <name>io.netty.channel.epoll</name> |
| 211 | + </moduleInfo> |
217 | 212 | </module> |
218 | 213 | <module> |
219 | 214 | <artifact> |
220 | 215 | <groupId>io.netty</groupId> |
221 | 216 | <artifactId>netty-transport-native-kqueue</artifactId> |
222 | 217 | </artifact> |
223 | | - <!-- TODO <moduleInfo>, needs handling of native unix-common dependency --> |
224 | | - <moduleInfoSource> |
225 | | - module io.netty.channel.kqueue { |
226 | | - exports io.netty.channel.kqueue; |
227 | | - } |
228 | | - </moduleInfoSource> |
| 218 | + <moduleInfo> |
| 219 | + <name>io.netty.channel.kqueue</name> |
| 220 | + </moduleInfo> |
229 | 221 | </module> |
230 | 222 | <module> |
231 | 223 | <artifact> |
232 | 224 | <groupId>io.netty</groupId> |
233 | 225 | <artifactId>netty-handler</artifactId> |
234 | 226 | </artifact> |
235 | | - <moduleInfoSource> |
236 | | - module io.netty.handler { |
237 | | - exports io.netty.handler.flow; |
238 | | - exports io.netty.handler.flush; |
239 | | - exports io.netty.handler.ipfilter; |
240 | | - exports io.netty.handler.logging; |
241 | | - exports io.netty.handler.ssl; |
242 | | - exports io.netty.handler.ssl.ocsp; |
243 | | - exports io.netty.handler.ssl.util; |
244 | | - exports io.netty.handler.stream; |
245 | | - exports io.netty.handler.timeout; |
246 | | - exports io.netty.handler.traffic; |
247 | | - } |
248 | | - </moduleInfoSource> |
| 227 | + <moduleInfo> |
| 228 | + <name>io.netty.handler</name> |
| 229 | + </moduleInfo> |
249 | 230 | </module> |
250 | 231 | <module> |
251 | 232 | <artifact> |
|
281 | 262 | </artifact> |
282 | 263 | <moduleInfo> |
283 | 264 | <name>io.vertx.core</name> |
284 | | - <requires> |
285 | | - static log4j.api; |
286 | | - static log4j; |
287 | | - static slf4j.api; |
288 | | - *; |
289 | | - </requires> |
290 | | - <exports> |
291 | | - !*impl*; |
292 | | - *; |
293 | | - </exports> |
294 | 265 | <uses> |
295 | 266 | io.vertx.core.spi.VertxFactory; |
296 | 267 | io.vertx.core.spi.VerticleFactory; |
|
302 | 273 | </modules> |
303 | 274 | <module> |
304 | 275 | <mainClass>com.example.HelloWorldServer</mainClass> |
305 | | - <moduleInfo> |
306 | | - <name>com.example</name> |
307 | | - <exports> |
308 | | - com.example to io.vertx.core; |
309 | | - </exports> |
310 | | - </moduleInfo> |
| 276 | + <moduleInfoSource>open module com.example { |
| 277 | + requires transitive io.vertx.core; |
| 278 | + } |
| 279 | + </moduleInfoSource> |
311 | 280 | </module> |
312 | 281 | </configuration> |
313 | 282 | <goals> |
|
0 commit comments