Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
pom.xml template: Update to Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
j1elo committed Apr 19, 2022
1 parent 1582165 commit b6763c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/templates/maven/model_pom_xml.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ pom.xml
<properties>
<!-- maven-resources-plugin -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>

<!-- maven-compiler-plugin -->
<!-- FIXME: Starting from Java-9, change to use the new <release> parameter. -->
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>

<#if module.imports[0]??>
Expand Down

0 comments on commit b6763c1

Please sign in to comment.