On 2/11/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: > I'm running jdk 1.5, however when compiling maven > tells me the following: > > Authenticator.java:[8,25] generics are not supported > in -source 1.3 > (try -source 1.5 to enable generics) > Hashtable<String, String> env = new > Hashtable<String, String>(); > > So I tried running install 3 different ways with no > success: > mvn -source 1.5 install > mvn -source=1.5 install > mvn -Dsource=1.5 install > > Any ideas on how to fix this?
You need to configure the compiler plugin. The example shows how to configure it for 1.5: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html HTH, -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
