okay, shame on me, found an answer to my question in the docs :)
add following to the build tag:
<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>
Pieter Vandepitte wrote:
Perhaps a simple question for the maven gurus :)
How do I set the java version against which maven2 compiles/tests/... ?
is there some tag in the pom file?
kind regards
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]