I have a java application coded in java 8, but we are using weblogic container that supports only java 1.6, can you please let me know if there is any way I can compile my source in Java 8 and force it to compatible with java 1.6 using maven as like source to 1.8 and target to 1.6?
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>1.8</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>