how abt this:
<plugin>
             <artifactId>maven-compiler-plugin</artifactId>
             <configuration>
               <fork>false</fork>
               <compilerVersion>1.5</compilerVersion>
                <source>1.6</source>
                <target>1.6</target>
             </configuration>
           </plugin>


On Nov 28, 2007 5:58 PM, 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>
>
> 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
>

Reply via email to