Hi,
I am using Maven 2.0 .
I can't compile my project using JDK 5.0, I have the following error:
------
F:\TestMaven2\2.0\MyProject\src\main\java\testm2\Jdk5.java:[35,16]
generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
------
I don't find how to specify my project using JDK 1.5, I try the
following commands:
mvn -DcompilerVersion=1.5
-Dsource=1.5
-Dtarget=1.5
-Dmaven.compile.source=1.5
-Dmaven.compile.target=1.5
compiler:compile
mvn -Dmaven.compile.source=1.5
-Dmaven.compile.target=1.5
compiler:compile
Should I modify my pom.xml ?
Thanks for your help
J-Michel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]