Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 465 invoked from network); 30 Mar 2007 22:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 22:08:38 -0000 Received: (qmail 13410 invoked by uid 500); 30 Mar 2007 22:08:43 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 13366 invoked by uid 500); 30 Mar 2007 22:08:43 -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 13355 invoked by uid 99); 30 Mar 2007 22:08:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 15:08:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjgd-geronimo-dev2@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 15:08:33 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HXPGQ-0007Sy-Un for dev@geronimo.apache.org; Sat, 31 Mar 2007 00:08:06 +0200 Received: from c-45fee155.177-11-64736c12.cust.bredbandsbolaget.se ([85.225.254.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2007 00:08:06 +0200 Received: from niklas by c-45fee155.177-11-64736c12.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2007 00:08:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@geronimo.apache.org From: Niklas Gustavsson Subject: Re: What is the Java Version for building source code? Date: Sat, 31 Mar 2007 00:07:38 +0200 Lines: 22 Message-ID: References: <460C9F1B.1090509@opensource.lk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-45fee155.177-11-64736c12.cust.bredbandsbolaget.se User-Agent: Thunderbird 2.0b2 (Windows/20070116) In-Reply-To: <460C9F1B.1090509@opensource.lk> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Lasantha Ranaweera wrote: > Hi, > > What is the recommended Java version to be used with building G from > source code? > > At the moment I am having a problem of building G from source code > (maven build fails with complaining incompatible Java version). I'm running into the same issue with 1.5.0_05. This makes for an odd error message: [INFO] [enforcer:enforce {execution: default}] [INFO] Detected Maven Version: 2.0.5 is allowed in the range [2.0.5,). [WARNING] Rule 0: RequireJavaVersion failed with message: Detected JDK Version: 1.5.0-05 is not in the allowed range [1.5,1.6). Changing the range to [1.4,1.6) let's me pass but that's probably not a good idea ;-) /niklas