Skip to content

Specify source and target Java versions in POM - #276

Closed
dbaston wants to merge 1 commit into
locationtech:masterfrom
dbaston:set-target-version
Closed

dbaston wants to merge 1 commit into
locationtech:masterfrom
dbaston:set-target-version

Conversation

@dbaston

@dbaston dbaston commented Mar 27, 2018

Copy link
Copy Markdown
Contributor

Since the POM does not specify the source or target Java versions, Maven defaults to 1.5, which is not supported by JDK 9 and causes the following error on mvn compile:

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

This PR specifies the source and target versions as 1.7, per the discussion in #145.

@dr-jts dr-jts changed the title Specify source and target versions in POM Specify source and target Java versions in POM Apr 15, 2018
@dr-jts dr-jts added the build label May 9, 2018
@jnh5y jnh5y self-assigned this May 9, 2018
@dbaston dbaston closed this Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants