I believe in alpha-1 release this was not a problem. Now maven says "BUILD FAILURE" but compiler gives only warnings, not errors. Maybe now I have to set some attribute to ignore warnings?
Everything is fine when I fix the code to avoid warnings. See log below. [EMAIL PROTECTED] /home/lilyevsk/workspace/projects/pt_EDtech $ m2 deploy [INFO] ------------------------------------------------------------------------ ---- [INFO] Building pt:pt_EDtech:jar:1.0 [INFO] ------------------------------------------------------------------------ ---- [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-deploy-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] [resources:resources] [INFO] [compiler:compile] Compiling 428 source files to /home/lilyevsk/workspace/projects/pt_EDtech/target/classes [INFO] ------------------------------------------------------------------------ ---- [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ ---- [INFO] Reason: Compilation failure [INFO] ------------------------------------------------------------------------ ---- [INFO] /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/concurrent/Sem aphoreControlledChannel.java:[71,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/concurrent/Sem aphoreControlledChannel.java:[73,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/rules/Rule.jav a:[146,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/rules/Rule.jav a:[194,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; [INFO] ------------------------------------------------------------------------ ---- [INFO] Total time: 3 minutes 4 seconds [INFO] Finished at: Thu May 19 09:51:56 EDT 2005 [INFO] Final Memory: 6M/132M -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------
