On 2/15/07, Jörn Kottmann <[EMAIL PROTECTED]> wrote:
My code depends on java 5. How can I overwrite the compiler settings inside the pom.xml (currently it tries to use java 1.4)?
Try adding to your POM:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
-Adam
