Affects Version/s: 2.22.2, 3.0.0-M3
Fix Version/s: None
Component/s: Maven Surefire Plugin
I'm trying to create a multi-release project, supporting java 1.8 and java 11.
My issue is I'm having a nightmare executing tests against both 1.8 and 11.
Could surefire have an option like compile to configure the jdkToolchain.
I understand that jvm is another config option, but that from what i'm reading requires the path to the java executable which isn't as helpful.
I would like to add something like this;
Thinks might be planned, but at the moment I'm having a nightmare using toolchain executions but if i get surefire running with java 11 then following phases also use java 11 which means jar and javadoc fail in my current setup.