Re: [ALL] Compile and Test under different JVM from Maven

2010-03-10 Thread Niall Pemberton
On Thu, Mar 11, 2010 at 1:13 AM, Jörg Schaible wrote: > 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

Re: [ALL] Compile and Test under different JVM from Maven

2010-03-10 Thread Jörg Schaible
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. T

Re: [ALL] Compile and Test under different JVM from Maven

2010-03-10 Thread sebb
On 09/03/2010, Jörg Schaible wrote: > sebb wrote at Dienstag, 9. März 2010 02:10: > > > > I've done some investigations. > > > > Maven can happily compile code with Java 1.3 or 1.4 etc. even when > > Maven itself runs under Java 1.5+ [1] > > > > This can be done by adding the following to th

Re: [ALL] Compile and Test under different JVM from Maven

2010-03-09 Thread Jörg Schaible
sebb wrote at Dienstag, 9. März 2010 02:10: > I've done some investigations. > > Maven can happily compile code with Java 1.3 or 1.4 etc. even when > Maven itself runs under Java 1.5+ [1] > > This can be done by adding the following to the component POM: > > > > > org.apache

Re: [ALL] Compile and Test under different JVM from Maven

2010-03-08 Thread sebb
On 09/03/2010, Niall Pemberton wrote: > First thought this is will overly complicate the maven build. Depends - if it can be done as a separate profile in the parent pom, then it should be not too bad. Seems to me that this will be a recurring problem - at some point we'll probably have to move

Re: [ALL] Compile and Test under different JVM from Maven

2010-03-08 Thread Niall Pemberton
First thought this is will overly complicate the maven build. Also I just restored compatibility for JDK 1.4[1] so its only JDK 1.3. We have Ant builds for JDK 1.3 components - can Continuum run Ant? Niall: [1] http://markmail.org/message/7xlgzzefqsfz4no2 On Tue, Mar 9, 2010 at 1:10 AM, sebb wr

[ALL] Compile and Test under different JVM from Maven

2010-03-08 Thread sebb
I've done some investigations. Maven can happily compile code with Java 1.3 or 1.4 etc. even when Maven itself runs under Java 1.5+ [1] This can be done by adding the following to the component POM: org.apache.maven.plugins maven-compiler-plugin tru