4.1.69 Release breaks Java modular build
See original GitHub issueOn the previous version (4.1.68.Final
) I included io.netty:netty-all:4.1.68.Final
in my Gradle build and used requires io.netty.all;
in my module-info.java
. That worked like a charm.
But with version 4.1.69.Final
the io.netty.all
(automatic) module is gone and replaced by modules for all sub-jars. Even if I require
them all I get errors like this:
error: module io.netty.buffer reads package io.netty.handler.codec.xml from both io.netty.codec and io.netty.codec.xml
The full build log: https://gist.github.com/iTitus/59e0effedcba03f319d069f47d927176
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Netty 4.1.69.Final released - Netty.news
This release changes the way how the netty-all artifact is packaged / produced. While before it did contain all the code of all...
Read more >ODL Parent release notes - OpenDaylight Documentation
This is a major upgrade from version 10, with breaking changes; downstream projects may need to make changes to upgrade to this version....
Read more >Release Notes | SAP Cloud SDK
Release notes of SAP Cloud SDK for Java, stay up to date with the recent features, fixes, dependency updates and recommendedations.
Read more >Bigtop Project Release Notes
' broke Zeppelin build. [BIGTOP-2187] - toolchain creates user with different ids on different systems; [BIGTOP-2188] - bigtop/puppet:ubuntu- ...
Read more >Release Notes - Documentation ・ CoreMedia
CMS-19344: Deprecated Hoverfly Extension Classes in LiveContext Test Modules. • CMS-19643: GraphQL Java Library updated from 16.1 to Version 16.2.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It builds & runs locally with the BOM -> https://github.com/iTitus/skat-java/commit/31e8120fa98c036283006f36e33324d7053f5556
But it breaks when trying to use
jlink
:I’ll have to try to manually disable this service.
You might need to tell your dependency provider (be it Maven or Gradle) that you do not want the transitive dependencies of your direct dependencies. Then include all the netty modules that are needed.