Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-16 Thread Gisbert Amm
Wayne Fay wrote: This has been discussed several times on this list. Sorry, I haven't found these discussions, neihter by searching for compiler defaults nor by searching for byte code [version] IMO, the default compilation target being 1.1 (or another hard-defined version) meets the rule

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-16 Thread Wayne Fay
I haven't performed a complete, in-depth historical analysis of every thread involving compiler defaults to find all the discussions of this issue, but here are 2 email threads you can refer to... from David Smith to users@maven.apache.org date May 4, 2007 9:46 AM subject Maven 2.0.6 using

Why does Maven2 by default generate Java 1.1 byte code?

2007-08-15 Thread Gisbert Amm
Searching for version issues, I had a closer look at the *.class files generated by Maven2 with the default compiler settings and found that the first bytes of them are cafe babe 0003 002D ..., which is byte code version 45.3 = Java 1.1. First I was believing that I had this (target 1.1)

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-15 Thread Wayne Fay
This has been discussed several times on this list. IMO, the default compilation target being 1.1 (or another hard-defined version) meets the rule of least surprise. You can argue that you don't like 1.1 and you'd prefer 1.3 or even 1.5 but that is another discussion. In contrast, the rule of