You may need to set the maven.compile.source to 1.5 too.

Full docs are here: http://maven.apache.org/reference/plugins/java/properties.html

--Leif

At 11:25 PM 7/20/2004, you wrote:
Christian Cabanero wrote:
Is there a way to get the Maven java plugin to work with JDK 1.5 beta?
I have 1.5 set as my default java installation and also overrode the
following property in my project.properties file
maven.compile.source = 1.5
but what I got was:

java:compile:
    [echo] Compiling to C:\cygwin\src\redpoint\aparigraha/target/classes
    [javac] Compiling 65 source files to
C:\cygwin\src\redpoint\aparigraha\target\classes
javac: source release 1.5 requires target release 1.5
however when I use javac manually and specify -source 1.5 it works fine.
Am I doing something wrong?


You need to add:
maven.compile.target=1.5


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to