it works, thanks very much! On Nov 28, 2007 11:03 AM, Stuart McCulloch <[EMAIL PROTECTED]> wrote:
> On 28/11/2007, Jo Support <[EMAIL PROTECTED]> wrote: > > > > 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> > > > try: > > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </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 > > > > -- > Cheers, Stuart >
