how should i enforce eclipse to use java 1.5 version for a project. I have the jdk 1.6 on my system.
I did these: project properties --> java compiler --> enabled project specific settings(checked), use compliance from ....(checked). I tried to uncheck that and check the use default compliance settings. I also tried adding this to my POM.
            <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
            <source>1.5</source>
            <target>1.5</target>
            <verbose>false</verbose>
            </configuration>
        </plugin>           
But eclipse is still taking java 1.6 version.
 
     
    