j143 / query-spanner-with-java

Querying cloud spanner with Java with testing CI on emulator
https://j143.github.io/query-spanner-with-java/
Apache License 2.0
1 stars 0 forks source link

Source option 5 is no longer supported. Use 6 or later. #14

Closed j143 closed 3 years ago

j143 commented 3 years ago

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

j143 commented 3 years ago
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

to pom.xml file.

source: https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html