Hello, I set the failOnError parameter to true, but my ejb-build succeeds though the ejbDeploy task fails! What is wrong? I also tried setting the parameter from the command line (mvn -Dwas6.failOnError=true).
INFO] wsEjbDeploy: [ERROR] [ERROR] BUILD FAILED [ERROR] file:c:/wc/svn7/contrat/ContratService/ContratServiceEJB/target/was6-maven-plugin/was6plugin-build.xml:6: The <wsEjbDeploy> task doesn't support t he "jdkcompliancelevel" attribute. [ERROR] [ERROR] Total time: 0 seconds [INFO] Return code: 0 [WARNING] No sources were generated [INFO] ejbDeploy finished [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [ejb:ejb] [INFO] Building ejb ContratServiceEJB-1.9-SNAPSHOT with ejbVersion 2.1 [INFO] Building jar: c:\wc\svn7\contrat\ContratService\ContratServiceEJB\target\ContratServiceEJB-1.9-SNAPSHOT.jar [INFO] Preparing source:jar [WARNING] Removing: ejbdeploy from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: bind-sources}] [INFO] Building jar: c:\wc\svn7\contrat\ContratService\ContratServiceEJB\target\ContratServiceEJB-1.9-SNAPSHOT-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27 seconds [INFO] Finished at: Wed Jun 25 16:06:54 CEST 2008 [INFO] Final Memory: 26M/120M [INFO] ------------------------------------------------------------------------ -- Venelin MITOV