Created
February 26, 2018 19:20
-
-
Save wjladams/915c0823537e3b54f58d907b2c8f5c1e to your computer and use it in GitHub Desktop.
maven pom specifying java version easily using properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
</properties> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discovered from https://stackoverflow.com/questions/16723533/how-do-you-specify-the-java-compiler-version-in-a-pom-xml-file#