Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7672E17D37 for ; Sat, 7 Mar 2015 08:14:53 +0000 (UTC) Received: (qmail 22281 invoked by uid 500); 7 Mar 2015 08:14:53 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 22198 invoked by uid 500); 7 Mar 2015 08:14:53 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 22187 invoked by uid 99); 7 Mar 2015 08:14:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Mar 2015 08:14:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [194.158.98.45] (HELO mail-3y.bbox.fr) (194.158.98.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Mar 2015 08:14:48 +0000 Received: from herve-desktop.localnet (static-176-183-252-218.ncc.abo.bbox.fr [176.183.252.218]) by mail-3y.bbox.fr (Postfix) with ESMTP id 58E2BC7 for ; Sat, 7 Mar 2015 09:14:07 +0100 (CET) From: =?ISO-8859-1?Q?Herv=E9?= BOUTEMY To: Maven Developers List Subject: Re: move maven core to java 7? Date: Sat, 07 Mar 2015 09:14:07 +0100 Message-ID: <2072260.vgQWsRPFlU@herve-desktop> User-Agent: KMail/4.13.3 (Linux/3.13.0-46-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: References: <54F849BF.4030908@ifedorenko.com> <85BBED52-3F44-40BA-824F-4DCB43B165B6@takari.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org Le vendredi 6 mars 2015 08:33:27 Anders Hammar a =E9crit : > What I'd like to stress here is that we're talking about Maven core, = not > our plugins. We've had a separate discussion/thread for the plugins a= nd for > those we've decided to go with a Java 6 requirement. > As plugins were mentioned in this thread as well I want to make sure = there > is no misunderstanding. yes, we're only talking about core: plugins require another discussion and befoire discussing plugins, we need to really finish the core discu= ssion :) Regards, Herv=E9 >=20 > /Anders (mobile) >=20 > Den 6 mar 2015 00:37 skrev "Jason van Zyl" : > > Ok, the consensus is to move forward to Java7. I updated the POM an= d we're > > in no rush so give it a whirl and we can think about releasing next= week > > if > > the world doesn't blow up. > >=20 > > On Mar 5, 2015, at 2:32 PM, Mirko Friedenhagen > >=20 > > wrote: > > > Hello there, > > >=20 > > > I would go for JDK7 as well, in April it will be EOLed anyway. I = do > > > not understand why someone who is forced to use JDK6 or let alone= JDK5 > > > is allowed (or has) to use the newest versions of build tools BTW= . IMO > > > it is stressful enough to support two JDKs (on different at least= 3 > > > OSes). > > > Regards Mirko > > > -- > > > http://illegalstateexception.blogspot.com/ > > > https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhag= en) > > > https://bitbucket.org/mfriedenhagen/ > > >=20 > > >=20 > > > On Thu, Mar 5, 2015 at 11:18 PM, Chris Graham > >=20 > > wrote: > > >> My preference is to always go for the lowest common denoninator,= as it > > >> gives the largest possible spread. > > >>=20 > > >> My 'grumbling' as Stephen put it [ :-) ], is more that I'd like = people > >=20 > > to > >=20 > > >> have an awareness that there are other platforms out there. > > >>=20 > > >> For example, the current IBM WAS 8.x stack defaults to Java 6, a= nd Java > >=20 > > 7 > >=20 > > >> is an extra optional install. I'm not sure if there is an IBM Ja= va 8 > > >> available (or being used in a product - I'm not sure, I've not l= ooked, > >=20 > > and > >=20 > > >> now, I no long can!). > > >>=20 > > >> Once the core moves the plugins will follow. > > >>=20 > > >> I don't necessarilly agree with the premise that those stuck on = older > > >> versions of Java will not want to use the newer core/plugins, > >=20 > > especially as > >=20 > > >> backports of fixes are exceptionally uncommon. > > >>=20 > > >> But if you feel the pressing need to update, feel free. > > >>=20 > > >>=20 > > >> On Fri, Mar 6, 2015 at 6:11 AM, Karl Heinz Marbaise > > >>=20 > > >> wrote: > > >>> Hi, > > >>>=20 > > >>> On 3/5/15 2:16 PM, Igor Fedorenko wrote: > > >>>> This is chicken-and-egg situation. We won't use java 7 feature= s > > >>>> unless > > >>>> the code targets java 7. > > >>>>=20 > > >>>> Try-with-resources and multi-exception catch are the too featu= res I'd > > >>>> like to start using throughout the code. Although not "critica= l" per > >=20 > > se, > >=20 > > >>>> I think they make writing correct maintainable code noticeably= > > >>>> easier. > > >>>>=20 > > >>>> Improvements to standard library, nio in particular, is anothe= r big > > >>>> reason for me. For example, Files#walkFileTree is significantl= y > > >>>> faster > > >>>> than comparable File-based implementation on large source tree= s. > >=20 > > Knowing > >=20 > > >>>> the core is on java 7 will allow us use that in plexus-utils f= or > >=20 > > example. > >=20 > > >>> Hm..plexus-utils is used in many plugins which would cause them= to > >=20 > > upgrade > >=20 > > >>> to Java 7 as well ? > > >>>=20 > > >>>> Besides, java 7 is EOL'ed by Oracle next month. Yes, many > >=20 > > organizations > >=20 > > >>>> still use java 6 (and java 5), but the same organizations are = not > >=20 > > likely > >=20 > > >>>> to move to use latest maven features any time soon either. > > >>>>=20 > > >>>> -- > > >>>> Regards, > > >>>> Igor > > >>>>=20 > > >>>> On 2015-03-05 7:59, Robert Scholte wrote: > > >>>>> I don't know the numbers, but I think JDK6 is still used a lo= t by > > >>>>> the > > >>>>> community. > > >>>>> Current code builds fine with JDK6. > > >>>>> Which JDK7 specific features do you want to use, which are no= t > >=20 > > possible > >=20 > > >>>>> with the current codebase? > > >>>>> Without any critical codechanges I'd go for -1. > > >>>>>=20 > > >>>>> Robert > > >>>>>=20 > > >>>>> Op Thu, 05 Mar 2015 13:19:11 +0100 schreef Igor Fedorenko > > >>>>> : > > >>>>>=20 > > >>>>> With maven core version change to 3.3.0 on master, any object= ions I > > >>>>>=20 > > >>>>>> change compile source/target to java 7? > > >>>>>>=20 > > >>>>>> -- > > >>>>>> Regards, > > >>>>>> Igor > > >>>=20 > > >>> Kind regards > > >>> Karl Heinz Marbaise > > >>>=20 > > >>>=20 > > >>>=20 > > >>> ---------------------------------------------------------------= ------ > > >>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > >>> For additional commands, e-mail: dev-help@maven.apache.org > > >=20 > > > -----------------------------------------------------------------= ---- > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > For additional commands, e-mail: dev-help@maven.apache.org > >=20 > > Thanks, > >=20 > > Jason > >=20 > > ---------------------------------------------------------- > > Jason van Zyl > > Founder, Takari and Apache Maven > > http://twitter.com/jvanzyl > > http://twitter.com/takari_io > > --------------------------------------------------------- > >=20 > > There's no sense in being precise when you don't even know what you= 're > > talking about. > >=20 > > -- John von Neumann > >=20 > > -------------------------------------------------------------------= -- > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > For additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org