Please read
https://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html
The tricky thing about MultiRelease JARS is that it only works with JARS,
so surefire won't help you here.
You need to use failsafe for testing with MRJARS.
The concept you-re using is "Single project
Hi,
I have a problem with a multi-module project.
This is the setup (you can find it here [1]):
- I have a module which produces a multi-release jar when built using jdk10+ [2]
jdk10
[10,)
org.apache.maven.plugins
maven-compiler-plugin
jdk10
compile
10