RE: [m2] Problem to specify project using JDK 5.0

2005-10-26 Thread Jean-Michel TOURNIE
Thanks Ashley. It's work fine when I modify my pom. -Message d'origine- De : Ashley Williams [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 octobre 2005 14:38 À : Maven Users List Objet : Re: [m2] Problem to specify project using JDK 5.0 Although if you want to tinker with

Re: [m2] Problem to specify project using JDK 5.0

2005-10-26 Thread Ashley Williams
Although if you want to tinker with the source and target settings just do this: org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 link i

Re: [m2] Problem to specify project using JDK 5.0

2005-10-26 Thread Ashley Williams
Make sure you kick off mvn using java 5 - just check and change the value of JAVA_HOME accordingly at the command line. I don't believe you need to modify Java 5 settings any further from within the pom from what you are saying here. AW On 26 Oct 2005, at 12:56, Jean-Michel TOURNIE wrote:

[m2] Problem to specify project using JDK 5.0

2005-10-26 Thread Jean-Michel TOURNIE
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