Skip to content

Instantly share code, notes, and snippets.

@tranminhan
Created April 11, 2011 16:22
Show Gist options
  • Save tranminhan/913796 to your computer and use it in GitHub Desktop.
Save tranminhan/913796 to your computer and use it in GitHub Desktop.
maven config to use a specific java source version
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment