error: Source option 6 is no longer supported. Use 7 or later. N code example
Example: Error:java: Source option 5 is no longer supported. Use 6 or later.
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>