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:\sourceCode\neo-master\neo>maven > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT > > war:init: > java:prepare-filesystem: > > java:compile: > [echo] Compiling to C:\sourceCode\neo-master\neo/target/classes > [javac] Compiling 4 source files to > C:\sourceCode\neo-master\neo\target\classes > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > !EXCUBATOR:1,452e8d5c53078180584110! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
