Skip to content

Instantly share code, notes, and snippets.

@bekwam
Created June 17, 2015 11:23
Show Gist options
  • Save bekwam/31d816f39634467cc7cd to your computer and use it in GitHub Desktop.
Save bekwam/31d816f39634467cc7cd to your computer and use it in GitHub Desktop.
A snippet of a pom.xml for specifying the Java version; Intellij defaults to 1.5 if this isn't present
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment