commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [ALL] Compile and Test under different JVM from Maven
Date Thu, 11 Mar 2010 01:13:39 GMT
Hi Sebb,

sebb wrote:

> On 09/03/2010, Jörg Schaible <joerg.schaible@gmx.de> 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


Mime
View raw message