Robert (?) wrote this page [0] about supporting MR-JAR files. There're several approaches to the topic. It'd be nice, if the compiler- and the jar-plugin would pick one by default or based on a directory layout convention.
[0]: https://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html On Fri, Apr 24, 2020 at 5:26 PM Elliotte Rusty Harold <[email protected]> wrote: > I've been thinking about multirelease jars. First step is source layout. > Here's a strawman modeled after the jar layout. > > We add a versions directory to the existing src directory. Inside the > versions directory one can have directories named 9, 10, 11, etc. for each > major Java version that has custom code. Each numbered directory is a full > src folder that contains main, test, etc. > > > Can anyone poke holes in this? Is there a reason why this wouldn't suffice? > > -- > Elliotte Rusty Harold > [email protected] >
