zooinspector
zooinspector copied to clipboard
[Maven] Can't build because of Source option 1.5 is no longer supported.
When I cloned the project and try to build it, maven shows:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project zooinspector: Compilation failure: Compilation failure: [ERROR] Source option 1.5 is no longer supported. Use 1.6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] -> [Help 1]
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
Adding those to pom.xml fixed mine.
Rather than adding that, you can just change the two lines here:
https://github.com/zzhang5/zooinspector/blob/master/pom.xml#L128-L129
Due to this project looks abandoned - there created fork for java8 and some new features: https://github.com/c0f3/zooinspector
[ERROR] Source option 5 is no longer supported. Use 6 or later.