The upstream fix from Debian requires guice >=4.2.3 and, implicitly, a newer version of guava (Debian repo has 29.0). The current available versions in Ubuntu 20.04 are guice 4.2.1 and guava 19.0, so both of these package updates will have to be backported.
Attempting to build maven 3.6.3 with the changes described by the commit in the upstream bug report (https://salsa.debian.org/java-team/maven/-/commit/48fb5b2ae0dcd860d61e4b258d60fcee03d2713c) resulted in maven packages that were missing some required "Depends" declarations, for example libcommons-cli-java and libgeronimo-annotation-1.3-spec-java. These are listed as "Build-Depends" and installing them does allow maven to run on Java 16+.
Hopefully there is some useful info here for the maintainers.
The upstream fix from Debian requires guice >=4.2.3 and, implicitly, a newer version of guava (Debian repo has 29.0). The current available versions in Ubuntu 20.04 are guice 4.2.1 and guava 19.0, so both of these package updates will have to be backported.
Attempting to build maven 3.6.3 with the changes described by the commit in the upstream bug report (https:/ /salsa. debian. org/java- team/maven/ -/commit/ 48fb5b2ae0dcd86 0d61e4b258d60fc ee03d2713c) resulted in maven packages that were missing some required "Depends" declarations, for example libcommons-cli-java and libgeronimo- annotation- 1.3-spec- java. These are listed as "Build-Depends" and installing them does allow maven to run on Java 16+.
Hopefully there is some useful info here for the maintainers.