Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4FD117D5E for ; Mon, 2 Feb 2015 17:23:49 +0000 (UTC) Received: (qmail 84479 invoked by uid 500); 2 Feb 2015 17:23:49 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 84403 invoked by uid 500); 2 Feb 2015 17:23:49 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 84391 invoked by uid 99); 2 Feb 2015 17:23:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 17:23:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ctrueden.wisc@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-ig0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 17:23:23 +0000 Received: by mail-ig0-f171.google.com with SMTP id h15so3697446igd.4 for ; Mon, 02 Feb 2015 09:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cfSUYBqZthh+faCsoHn8azj4LfhEhk4tpOxw7ahxUU8=; b=zDThiudlREPuW6ATJ9uoiExLqu/hpagwSlJa+r3LSU9UZaqq6u65JaplrNWCcJwtA5 VaBcLhen77dYMrFtXxaiQxxVTcBK9fb9M6zmlw9UTrBQ8M+H4lhCJGzNGTgN3bPZUD/H q8TzpmyaODhNsw29LbsyBiAY/b3SyRWNOyPkwXyLXsYj2ReJgP1Tf7+eMksZps7Pcdgw LDlPruEPwEwgJRjFJw7Xc6ewjBrxjCdOw1qQ3apQrFYpShl6DLtZ21W4fcHJkqnOvBTo ZUm80VPbncbUsS1m/ujKWcLnyJwe9nGILnREHc/OMs+S21LWzi7hvOcPy9dYu3f772QD ewjA== MIME-Version: 1.0 X-Received: by 10.107.135.161 with SMTP id r33mr23232559ioi.32.1422897801521; Mon, 02 Feb 2015 09:23:21 -0800 (PST) Sender: ctrueden.wisc@gmail.com Received: by 10.107.7.144 with HTTP; Mon, 2 Feb 2015 09:23:21 -0800 (PST) Received: by 10.107.7.144 with HTTP; Mon, 2 Feb 2015 09:23:21 -0800 (PST) In-Reply-To: References: <8A671370078DED458B69E51D681180095C8BAF@G2W2527.americas.hpqcorp.net> <54CF7B2D.7000503@gmx.de> <55BBB074DE5248439192BCB13699A456772CB1C1@MSGEXSV21141.ent.wfb.bank.corp> <54CFA180.7000804@gmx.de> Date: Mon, 2 Feb 2015 11:23:21 -0600 X-Google-Sender-Auth: 7OLt8RsTAO4E2qXpv8iT9YWxSWA Message-ID: Subject: Re: maven 3.0.6 release date From: Curtis Rueden To: Maven Users List Cc: info@soebes.de Content-Type: multipart/alternative; boundary=001a113ecf5c02f480050e1e363a X-Virus-Checked: Checked by ClamAV on apache.org --001a113ecf5c02f480050e1e363a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi David, I feel compelled to throw out the obligatory "It's open source; scratch your itch" response here. It sounds like your team could really use this feature, you seem to think it would be easy to implement, you have an existing template for how another related build tool already does this, and it is not a feature already being worked on by the core Maven developers. It might be worth the development effort for your team to contribute the feature upstream. -Curtis On Feb 2, 2015 11:17 AM, "David Hoffer" wrote: > Here is a link to how Gradle does this > > http://gradle.org/docs/current/dsl/org.gradle.api.tasks.wrapper.Wrapper.h= tml > looks like it does a build tool download and builds against that version. > Not sure if this allows simultaneous builds to use different versions but= I > assume it does. > > -Dave > > > On Mon, Feb 2, 2015 at 9:58 AM, David Hoffer wrote: > > > It looks like http://mvnvm.org/ configures a system for a version of > > Maven which is nice but not really what I'm asking for. What I'm askin= g > > for is no system config. We want to run multiple Maven builds on the > same > > box at the same time with different Maven versions. E.g. pom specifies > > everything, system defines nothing. > > > > -Dave > > > > On Mon, Feb 2, 2015 at 9:50 AM, David Hoffer wrote= : > > > >> For the first question, there is not one answer. As an example one > >> current project is on 3.0.4. I did upgrade that one to 3.2.5 and I > found I > >> had to update several plugins (unfortunately I don't recall which ones > >> those were). In trunk I made those changes so we could use 3.2.5 but = I > >> can't make those same plugin changes for branch builds (no one wants t= o > >> assume the risk of those changes there). So because this would force > devs > >> to have 2 different Maven system configs...we decided to stay at 3.0.4 > for > >> both builds. > >> > >> Yes we have a top level pom that defines plugin versions but that is > >> included in the branch...it's the branch one we don't want to > >> change...trunk one is generally okay to update. (We also have a globa= l > >> company pom...that contains company global things like license, > >> distributionManagement, etc.) > >> > >> I'm not clear why you think this feature couldn't work in Maven or > >> Gradle...seems pretty simple to me. Something like a small bootstrape= r > is > >> the kernel of the build tool and Maven or Gradle itself is downloaded > as a > >> 'bundle'...or a 'plugin' if I can reuse that term. With this approach > the > >> build is guaranteed to be using exactly the same build bits every > time...no > >> risk of any changes...and the pom defines everything. That being > said...I > >> have not looked at how Gradle accomplishes this. > >> > >> -Dave > >> > >> > >> > >> > >> > >> On Mon, Feb 2, 2015 at 9:10 AM, Karl Heinz Marbaise > >> wrote: > >> > >>> Hi David, > >>> > >>> unfortunately you really didn't answer my question... > >>> > >>> From which versions of Maven would you like to update...? And what ar= e > >>> the problems you/devs have been faces with? > >>> > >>> > >>> You can test it via CI ... > >>> > >>> BTW: Jenkins was just an example for any kind of CI solution is doesn= 't > >>> matter if you use Jenkins, TeamCity, Bamboo, or what ever... etc. the > >>> process is always the same... > >>> > >>> > >>> On 2/2/15 4:30 PM, David Hoffer wrote: > >>> > >>>> Hi Karl, > >>>> > >>>> Our posts crossed. We use several different Maven versions > >>>> > >>> > >>> Which ones? > >>> > >>> > but upgrading > >>> > >>>> has always been problematic because it's hard if not impossible to > >>>> upgrade > >>>> all projects to the latest. > >>>> > >>> > >>> Why not? What where/are the exact issues? > >>> > >>> > It's easy to upgrade the trunk (usually) but > >>> > >>>> we have older branches where we do not want to upgrade because we wa= nt > >>>> minimal changes in that branch build (e.g. no plugin changes). > >>>> > >>> > >>> What kind of plugin changes ? Haven't you defined a company pom which > >>> contains all the plugin definitions and is continiously maintained to > >>> update them..... > >>> > >>> > >>>> We can't use Jenkins...but that's not an issue...as for CI we have n= o > >>>> problem running the version we want. The issue is for developers...= I > >>>> don't > >>>> want devs to have to constantly switch their environment around just > to > >>>> run > >>>> different maven versions. We often have to run both at the same tim= e > >>>> as we > >>>> are fixing something in a branch and the same in trunk after the > merge. > >>>> > >>>> This is a standard feature of Gradle and lots of folks here are > pushing > >>>> for > >>>> that. If Maven had this feature it would remove their argument. > >>>> > >>> > >>> That sounds like two things.... > >>> > >>> First downloading Maven version (however this can be identified) and > >>> switching to the downloaded instances... > >>> > >>> > >>> Apart from that. Downloading automatically some version does not solv= e > >>> the real problem here. The builds have not been well maintained and > >>> upgraded/improved as the usualy source code as well... > >>> > >>> I have my doubts that this will work all the time with Gradle as > >>> well...cause in the meantime you have several differernt gradle > versions as > >>> well....I think you will faces the same thing with Gradle cause using= a > >>> Gradle version 0.X and now using with 2.2.1 or something produces the > same > >>> problems... > >>> > >>> > >>> > >>> > >>> > >>>> -Dave > >>>> > >>>> On Mon, Feb 2, 2015 at 8:20 AM, David Hoffer > >>>> wrote: > >>>> > >>>> That's great that Jenkins does this but we need it built into Maven > >>>>> directly. Our CI infrastructure is TeamCity with many hundreds of > >>>>> builds > >>>>> and that's not going to change any time soon and we need developers > to > >>>>> get > >>>>> the same feature from the command line & integrated with their IDE. > >>>>> > >>>>> -Dave > >>>>> > >>>>> On Mon, Feb 2, 2015 at 8:12 AM, wrote= : > >>>>> > >>>>> I have to admit, this would be pretty cool. > >>>>>> > >>>>>> However, Jenkins already has this functionality. You specify the > Maven > >>>>>> version in the job and configure Jenkins to automatically download > >>>>>> that > >>>>>> version (it does with this with Java and Ant as well). > >>>>>> > >>>>>> I highly suggest you look into it. Even running it on your local > >>>>>> machine > >>>>>> is pretty convenient. > >>>>>> > >>>>>> Cody Fyler > >>>>>> Lending Grid Build Team > >>>>>> G=3DLending Grid Builds > >>>>>> (515) =E2=80=93 441 - 0814 > >>>>>> > >>>>>> -----Original Message----- > >>>>>> From: David Hoffer [mailto:dhoffer6@gmail.com] > >>>>>> Sent: Monday, February 02, 2015 9:06 AM > >>>>>> To: Maven Users List > >>>>>> Subject: Re: maven 3.0.6 release date > >>>>>> > >>>>>> On a somewhat related note, one feature I'd like to see added to > >>>>>> Maven is > >>>>>> the ability to easily upgrade the version of Maven used. I want t= he > >>>>>> build > >>>>>> to specify the version of Maven used and automatically download an= d > >>>>>> use > >>>>>> that version. Currently it's the system that determines what > version > >>>>>> is > >>>>>> installed on the path. The best a project can do is require a (mi= n) > >>>>>> version of Maven. This makes it hard to upgrade as we have severa= l > >>>>>> projects to support and some will never be upgraded as they are > older > >>>>>> branches. Is this feature on the Maven radar? > >>>>>> > >>>>>> On Mon, Feb 2, 2015 at 6:27 AM, Karl Heinz Marbaise < > >>>>>> khmarbaise@gmx.de> > >>>>>> wrote: > >>>>>> > >>>>>> Hi, > >>>>>>> > >>>>>>> isn't it an option to update to 3.2.5 ? Have you tried it ? > >>>>>>> > >>>>>>> > >>>>>>> On 2/2/15 10:27 AM, Bichov, Vitaly wrote: > >>>>>>> > >>>>>>> Hi, > >>>>>>>> > >>>>>>>> There is this (http://jira.codehaus.org/browse/MNG-5315) bug. > >>>>>>>> The bug has a fix proposal and a workaround. > >>>>>>>> Due to some restrictions I can't apply the workaround on my > >>>>>>>> > >>>>>>> environment. > >>>>>> > >>>>>>> > >>>>>>>> Will the bug be fixed in the next (3.0.6) release? > >>>>>>>> When will 3.0.6 version will be released if ever? > >>>>>>>> > >>>>>>>> Thank you, > >>>>>>>> Vitaly > >>>>>>>> > >>>>>>>> > >>>>>>>> Kind regards > >>>>>>> Karl Heinz Marbaise > >>>>>>> > >>>>>>> ------------------------------------------------------------ > >>>>>>> --------- > >>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >>>>>>> For additional commands, e-mail: users-help@maven.apache.org > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>>> > >>>> > >>> > >>> Kind regards > >>> Karl Heinz Marbaise > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >>> For additional commands, e-mail: users-help@maven.apache.org > >>> > >>> > >> > > > --001a113ecf5c02f480050e1e363a--