I believe it just produces 1.1 compatible class files. Maven just passes the setting to the ant task, which passes it to javac. Since the HashMap class is is not present under 1.1 I guess we'd just get a ClassNotFoundException.
I believe that should be all we need, we shouldn't need to *compile* with the javac from 1.1, we just need to use classes that are present with 1.1 and produce 1.1 compatible classes ( byte codes ). >>>>> On Thu, 01 Jan 2004 10:57:24 -0600, steve cohen <[EMAIL PROTECTED]> said: > On Thursday 01 January 2004 09:06 am, Jeffrey D. Brekke wrote: >> Maven uses the following property: maven.compiler.target which >> defaults to 1.1 so what I last released generated 1.1 compatible >> class files. >> >> http://maven.apache.org/reference/plugins/java/properties.html >> >> Example: maven -Dmaven.compiler.target=1.2 clean jar >> > Then I don't understand why I was able to build, since HashMap is > not in 1.1. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- ===================================================================== Jeffrey D. Brekke [EMAIL PROTECTED] Wisconsin, USA [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
