Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 91873 invoked from network); 11 Mar 2010 01:14:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 01:14:48 -0000 Received: (qmail 74880 invoked by uid 500); 11 Mar 2010 01:14:16 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 74754 invoked by uid 500); 11 Mar 2010 01:14:16 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 74746 invoked by uid 99); 11 Mar 2010 01:14:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 01:14:16 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-commons-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 01:14:12 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NpWyD-0001bN-G7 for dev@commons.apache.org; Thu, 11 Mar 2010 02:13:49 +0100 Received: from hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de ([78.42.100.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2010 02:13:49 +0100 Received: from joerg.schaible by hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Mar 2010 02:13:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: dev@commons.apache.org To: dev@commons.apache.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: Re: [ALL] Compile and Test under different JVM from Maven Followup-To: gmane.comp.jakarta.commons.devel Date: Thu, 11 Mar 2010 02:13:39 +0100 Lines: 31 Message-ID: References: <25aac9fc1003081710q1cc439e5x959a149650e7fced@mail.gmail.com> <25aac9fc1003101545nae724c3h94b0327f92630de0@mail.gmail.com> Reply-To: joerg.schaible@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-078-042-100-171.hsi3.kabel-badenwuerttemberg.de Mail-Copies-To: nobody User-Agent: KNode/4.3.5 Hi Sebb, sebb wrote: > On 09/03/2010, Jörg Schaible wrote: [snip] >> Another solution should be the animal sniffer: >> http://mojo.codehaus.org/animal-sniffer-maven-plugin/ >> >> This should ensures that the generated byte code is using only the API >> of a previously generated signature. There are already signatures for >> the different JREs. This way you could even check for JRE 1.3 >> compatibility. >> > > Animal looks like a lot of work; and you have to create signatures for > each release (why are these not included as part of the plugin?) They are available as separate artifacts - at least for the JDK's: http://marc.info/?l=ant-user&m=125875633827232&w=2 http://repo1.maven.org/maven2/org/codehaus/mojo/signature/ > Using a profile looks to be fairly simple in comparison. Because you cannot cover JDK 1.3, you cannot cover JDK 1.4 when using Maven 2.2 or higher and everybody has to setup the parameters for the JDKs individually on his own. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org