Maven is smart: you can specify both source and target. :-) See the parent POM of Struts to see 1.4 set for both options. The options are inherited in children POM unless overridden -- which we will certainly do. Go ahead and update the POM. Please create a Task ticket for the POM update to remind us about the JDK5 requirement.
On 7/20/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/20, Paul Benedict <[EMAIL PROTECTED]>: > > The POM controls the java version. I would +1 for Tiles 2 to required JDK > 5 > for that POM only. Does it control the library too? For example, if you use "StringBuffer", in JDK 5 it will use CharSequence class, that in JDK 1.4 does not exist. And this, even if you are compiling with source=target=1.4, so you will have a NoClassDefFoundError in JRE 1.4 . Sorry if I insist, but I want to be sure. Antonio
