Hello Try these property settings:
maven.compile.deprecation=on *maven.compile.target=1.4* maven.compile.debug=off maven.compile.optimize=off
Target will probably be the one interesting for you. You will find the documentation for the java plugin properties there:
http://maven.apache.org/reference/plugins/java/properties.html
Hope it helps Eric.
Onno van der Straaten wrote:
Hi all,
I have been spending loads of time on the following javac problem. There is code that compiles with the following error:
warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
I try to solve the problem by providing the following options:
maven.compile.compileargs = -source 1.4 -target 1.4
Which results in following error message: source release 1.4 requires target release 1.4
I have been working on this problem for more than a few hours to no avail. If I don't find a solution we will be using something else than Maven, which I regret so any help will be greatly appreciated.
Kind regards, Onno
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
