Skip to content

Instantly share code, notes, and snippets.

@mrueegg
Created March 9, 2017 17:14
Show Gist options
  • Save mrueegg/70d787c214a882b7d983893dc8a17c29 to your computer and use it in GitHub Desktop.
Save mrueegg/70d787c214a882b7d983893dc8a17c29 to your computer and use it in GitHub Desktop.
Maven compiler plug-in configuration to use Java 1.8
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target><!-- use 1.7 in your Stash module -->
</configuration>
</plugin>
<!-- ... -->
</plugins>
</build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment