On 20 September 2017 at 17:12, Benedikt Ritter <brit...@apache.org> wrote: >> Von: Stephen Colebourne <scolebou...@joda.org> >> I've not got maven to work with actual module-info.java files yet on >> the Joda projects, but they are a more complex setup. Maybe >> [collections] could be the first to get a real module-info? There are >> no dependencies, right? > > There are test dependencies. > > And I wonder how we can create a jar that is also valid on JVM 7 and 8. Do > they ignore the module-info.class which would be included? Or do we have to > create a Multi-Release jar? The build will definitely require Java 9.
I've not managed to get this pattern to work on my projects yet: http://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html There should be no need for a multi-release jar - the module-info.class file will just be ignored (not class loaded) by previous versions even though it is in the jar file. Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org