Check out the compiler plugin configuration:
http://maven.apache.org/maven2/plugins/maven-compiler-plugin/howto.html
Cheers,
// Bruno
Guido Zockoll wrote:
I am trying to "mavenize" my current project. It is a Java 5 project and
i get to following error from mvn:
java:[24,9] annotations are not supported in -source 1.3
(try -source 1.5 to enable annotations)
@Override
But where should i define "-source 1.5"? I could not find any hint in
the documentation?
Thanks for help in advance
Guido
--
Ergon Informatik AG, Kleinstrasse 15, 8008 Zürich, Switzerland
[EMAIL PROTECTED], Phone +41 44 268 89 16, Fax +41 1 261 27 50
http://www.ergon.ch/
______________________________________________________________
e r g o n smart people - smart software
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]