[EMAIL PROTECTED] wrote:
Hello,

I'm Maven-izing a project that uses the 'assert' keyword from Java 1.4.
When I run the jar goal, I get compiler errors on the lines that use
assert.
Is there a property that I can set for the compiler version?

I've looked in the docs and on Google for a solution, but only found
information to problems with javadoc on 1.4.  If I've missed the answer
somewhere, please let me know where I can find it.


Try the appropriate properties for the Java plugin (which is reponsible for compilation):


http://maven.apache.org/reference/plugins/java/properties.html

--
 Luke Taylor.                      Monkey Machine Ltd.
 PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to