le jeu 15-08-2002 � 00:08, David Garnier a �crit : > Hello, > > I'm using Maven for two projects, one closed, one open-sourced > (http://wkb4j.etudier-online.com). > > I work with the JDK 1.4, and I'm using asserts. The problem is that ant > complains about assert if you don't set the correct property ("source" > in the javac task). So where can I set this? I'm willing to recompile > Maven if I have to. >
The javac task is carried out by the maven-java-plugin-1.0 plugin. Adding source="1.4" to the the javac task in the $MAVEN_HOME/plugins/maven-java-plugin-1.0/plugin.jelly script solved my problem. Best Regards, David Garnier -- Website: http://dgarnier.etudier-online.com PGP key: http://www.davidgarnier.com/public_gpg_key.txt
signature.asc
Description: This is a digitally signed message part
