error: Target option 1.5 is no longer supported. Use 1.6 or later. 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>