Created
January 28, 2016 14:24
-
-
Save vvavrychuk/9b7514100a6180081e0d to your computer and use it in GitHub Desktop.
maven-compiler-plugin Java 8
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
<project> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually without it Java 8 code compiles but some syncing from Maven to IDEA settings is not correct and IDEA assumes this is Java 5 project.