not really IMHO the question here is to create one multi-release jar, not how to maintain many (one-)release jars from one sourcecode: MR jars are done to avoid the release- specific jar approach (that preprocessing makes viable)
Regards, Hervé Le vendredi 24 mars 2017, 11:08:49 CET Aldrin Leal a écrit : > Wouldn't preprocessing help? > > https://blog.jooq.org/2016/03/01/how-to-support-java-6-8-9-in-a-single-api/ > > -- > -- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal > > On Fri, Mar 24, 2017 at 11:01 AM, Andreas Sewe < > > s...@st.informatik.tu-darmstadt.de> wrote: > > Hi, > > > > > I would have thought that it was not Maven's responsibility to ascertain > > > that test passed in various JDKs, old and new. > > > > I agree that is is not Maven's responsibility to (out of the box) > > execute the tests against multiple JREs. If you think it is, one can > > just as well argue that it should run tests for OSGi bundles built with > > Maven using all different permutations that the bundle's Import-Package > > version ranges allow. > > > > Yes, there are projects where that level of double-checking is > > warranted, but IMHO this is the domain of Jenkins matrix projects or > > similar mechanisms. > > > > The bigger issue with the "multiple source folder per project" approach > > is whether popular IDEs can express the fact that src/main/java needs to > > be compiled against one JRE whereas src/main/java-9 needs to be compiled > > against another. > > > > Just my two cents. > > > > Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org