Use maven-compiler-plugin 'release` setting
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ebdeed50 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ebdeed50 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ebdeed50 Branch: refs/heads/WICKET-6563 Commit: ebdeed507a5daca4d045007c499130d17dcfc9f2 Parents: bce0add Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Thu Oct 18 16:48:08 2018 +0300 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Thu Oct 18 17:27:36 2018 +0300 ---------------------------------------------------------------------- pom.xml | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/ebdeed50/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 46a8fa2..2213355 100644 --- a/pom.xml +++ b/pom.xml @@ -773,6 +773,9 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <inherited>true</inherited> + <configuration> + <release>11</release> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
