zooinspector icon indicating copy to clipboard operation
zooinspector copied to clipboard

[Maven] Can't build because of Source option 1.5 is no longer supported.

Open duanshiqiang opened this issue 8 years ago • 4 comments

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]

duanshiqiang avatar Nov 01 '17 03:11 duanshiqiang

<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.

r2d2c3p0 avatar Feb 06 '18 00:02 r2d2c3p0

Rather than adding that, you can just change the two lines here:

https://github.com/zzhang5/zooinspector/blob/master/pom.xml#L128-L129

adamkdean avatar Apr 20 '18 09:04 adamkdean

Due to this project looks abandoned - there created fork for java8 and some new features: https://github.com/c0f3/zooinspector

kostapc avatar Sep 05 '18 11:09 kostapc

[ERROR] Source option 5 is no longer supported. Use 6 or later.

Serlya avatar Dec 20 '18 11:12 Serlya