Re: Multi Release Jars and reactors and 'test'

2019-01-03 Thread Robert Scholte
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

Multi Release Jars and reactors and 'test'

2019-01-02 Thread Enrico Olivelli
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