maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: Thoughts on MR-Jar support in Maven
Date Sat, 25 Mar 2017 05:52:48 GMT
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, <aldrin@leal.eng.br> / http://about.me/aldrinleal
> 
> On Fri, Mar 24, 2017 at 11:01 AM, Andreas Sewe <
> 
> sewe@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-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message