Skip to content

Instantly share code, notes, and snippets.

@vvavrychuk
Created January 28, 2016 14:24
Show Gist options
  • Save vvavrychuk/9b7514100a6180081e0d to your computer and use it in GitHub Desktop.
Save vvavrychuk/9b7514100a6180081e0d to your computer and use it in GitHub Desktop.
maven-compiler-plugin Java 8
<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>
@vvavrychuk
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment