I have the following configuration in my pom.xml for maven-compiler-plugin.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
What should be the source and target version of jdk? How it depends on version of jdk installed on my computer? May they be different? e.g. installed jdk is 1.8, in source parameter - 1.6, target - 1.7.