Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 74863 invoked from network); 20 Aug 2006 17:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Aug 2006 17:37:05 -0000 Received: (qmail 10291 invoked by uid 500); 20 Aug 2006 17:37:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 9657 invoked by uid 500); 20 Aug 2006 17:37:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 9646 invoked by uid 99); 20 Aug 2006 17:37:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 10:37:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [72.10.46.63] (HELO as.toolazydogs.com) (72.10.46.63) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2006 10:36:53 -0700 Received: (qmail 17962 invoked from network); 20 Aug 2006 10:36:26 -0700 Received: from c-24-7-76-123.hsd1.ca.comcast.net (HELO ?192.168.1.100?) (24.7.76.123) by toolazydogs.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Aug 2006 10:36:26 -0700 Message-ID: <44E89D89.2090604@toolazydogs.com> Date: Sun, 20 Aug 2006 10:36:09 -0700 From: "Alan D. Cabrera" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060505) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Disallow 1.5 on trunk (until its actually supported)? References: <408E03CF-F998-4A8B-9999-538C0A4060FA@planet57.com> In-Reply-To: <408E03CF-F998-4A8B-9999-538C0A4060FA@planet57.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jason Dillon wrote: > I keep running into problems switching my local jdk (ala setjdk) from > 1.4 to 1.5 and forgetting to switch it back again when making G builds. > > I though it would be nice if the build would fail early if I had the > wrong JDK configured. So, I wroke a require-java-version goal in a > new tools-maven-plugin (in Genesis), which allows the build to fail > early. It uses Mac OS X-style version suffix tokens (+ and *) to > allow selection. > > > http://geronimo.apache.org/maven/genesis/plugins/tools-maven-plugin/usage.html > > > I've set it up for GShell which needs 1.5, but I was wondering if we > should configure this goal in trunk and set it to 1.4* so that if you > are using 1.5 it will puke early with a meaningful error. > > Seems like folks who build with 1.5 run into errors... so maybe its a > good thing to force 1.4? > > Thoughts? > > --jason > > Why not just add the following to the POMs? org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 Regards, Alan