For this example, we will configure the Java compiler to allow JDK 5.0 sources. This is as [*simple*] as adding this to your POM:
<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>
From Maven’s getting started guide[1]. Not exactly what I would call simple, though. In SBT I write “javacVersion := 1.5” and that’s it …
[1] http://maven.apache.org/guides/getting-started/index.html

