-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
I downloaded the source zip (from https://github.com/google/s2-geometry-library-java/archive/refs/heads/master.zip) and then:
mvn clean-> OKmvn compile->
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project s2-geometry-library: Compilation failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
Linux system:
- Linux Mint 21.3 Cinnamon
- 5.15.0-142-generic
- Intel© Core™ i7-10850H CPU @ 2.70GHz × 6
OK I found the fix. I added these 2 lines in the properties section of the pom.xml file:
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Metadata
Metadata
Assignees
Labels
No labels