Hi all,
When i try to user mvn compile I'm getting the following error, any help
[INFO] [compiler:compile]
[INFO] Compiling 127 source files to F:\build\cougar_common\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
F:\build\path\file.java:[77, 19] generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
public List<Object> getObjects(Class clazz, String orderByField) {
I'm using maven 2.0.7 and I've Java 1.5 installed in my system. I'm
failed to understand why maven is trying to compile using 1.3 when I've 1.5.
Can anyone help me.
Thank you
Arun P Johny
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]