I have imported an existing Maven project into Eclipse IDE . I have modified some code in it , it compiled successfully , I am using Java 1.6 as compiler and when i am try
You have to configure the Maven Compiler Plugin.
org.apache.maven.plugins maven-compiler-plugin 2.3 1.6 1.6