Hello.

 

Still new to Maven, I'm trying to port a project from Ant to Maven, and get the 
following error...

 

H:\CurrentProjects\JVMHost\src\main\java\au\net\wcg\jvmhost\CommandReturn.java:[18,18]
 generics are not supported in -source 1.3

[INFO](try -source 1.5 to enable generics)

I found this reference: 
http://forum.springframework.org/showthread.php?t=24913, but it talks of 
changing my "parent POM". I can still count the number of times I can count the 
times I've used Maven on one hand, and I am yet to receive enlightenment 
vis-à-vis the nature of the POM.

 

How do I get maven to compile my project under 1.5? If anyone uses Mavenide for 
NetBeans, knowing of a NB specific way of doing this would be great too.

 

Your help is greatly appreciated,

 

  Owen.

Reply via email to