Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Essential properties for pom.xml with UTF-8 encoding and Java version 11
<!--
The essential properties for pom.xml include
- UTF-8 encoding for source files
- compiler version for source and target / Java 11
-->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment