see http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
2007/11/28, Jo Support <[EMAIL PROTECTED]>: > hi, > > i'm trying to force the use of jdk 1.5 in compile time, writing this into my > pom: > > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <fork>false</fork> > <compilerVersion>1.5</compilerVersion> > </configuration> > </plugin> > > but i still have this error: > > for-each loops are not supported in -source 1.3 (try -source 1.5 to enable > for-each loops) > > any suggestion? > thank you very much > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]