Right idea, wrong options, try:
maven.compile.target=1.4
maven.compile.source=1.4
- Brill Pappin
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]
--
"Any sufficiently advanced magic is indistinguishable from technology."
- Arthur C Anticlarke
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]