Hi,
put into your build.properties
maven.compile.source=1.5
maven.compile.target=1.5
kind regards
jill han schrieb:
> I am using maven as a build for the project
turbine/torque/velocity
> I just upgraded jdk from 1.4 to 1.5. But the build
failed.
> Is there any suggestions to fix it?
>
> Thanks a lot.
> Jill
>
>
************************************************************
****
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:>cd sourcecode/neo-master/neo
>
> C:sourceCodeneo-masterneo>maven
> __ __
> | / |__ _Apache__ ___
> | |/| / _` V / -_) ' ~ intelligent projects ~
> |_| |___,_|_/___|_||_| v. 1.0-rc1-SNAPSHOT
>
> war:init:
> java:prepare-filesystem:
>
> java:compile:
> [echo] Compiling to
C:sourceCodeneo-masterneo/target/classes
> [javac] Compiling 4 source files to
> C:sourceCodeneo-masterneotargetclasses
> javac: target release 1.1 conflicts with default source
release 1.5
>
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/jhan.BLR/.maven/plugins/maven-java-pl
> ugin-1.3/
> Element... ant:javac
> Line...... 34
> Column.... 48
> Compile failed; see the compiler error output for
details.
> Total time: 11 seconds
> Finished at: Thu Oct 12 12:58:15 CDT 2006
>
************************************************************
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: turbine-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: turbine-user-help jakarta.apache.org
>
> !EXCUBATOR:1,452e8d5c53078180584110!
------------------------------------------------------------
---------
To unsubscribe, e-mail: turbine-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: turbine-user-help jakarta.apache.org
|