java - Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.12:verify (verify) -
i trying build webapps workspace of springfuse(javaee 6 + spring framework (targeting jetty, tomcat, jboss, etc.)) , maven, far managed create project using maven , import eclipse, when try maven-install few errors , build failure notice. have jdk 7u9 , eclipse juno , error :
running ir.raysis.isirep.repository.usersrepositoryit warn o.h.s.i.configcontext.getlucenematchversion hsearch000075: configuration setting hibernate.search.lucene_version not specified, using lucene_current. warn i.r.i.d.identifiablehashbuilder.hash developer: hashcode not safe.if encounter message should take time carefuly review equals/hashcode methods for: ir.raysis.isirep.domain.users may consider using business key. hibernate: select nextval ('hibernate_sequence') warn o.h.e.j.s.sqlexceptionhelper.logexceptions sql error: 90036, sqlstate: 90036 error o.h.e.j.s.sqlexceptionhelper.logexceptions sequence "hibernate_sequence" not found; sql statement: select nextval ('hibernate_sequence') [90036-171] tests run: 1, failures: 0, errors: 1, skipped: 0, time elapsed: 8.679 sec <<< failure! running ir.raysis.isirep.util.integrationsampleit tests run: 1, failures: 0, errors: 0, skipped: 0, time elapsed: 0 sec results : tests in error: saveandget(ir.raysis.isirep.repository.usersrepositoryit): org.hibernate.exception.genericjdbcexception: not extract resultset tests run: 2, failures: 0, errors: 1, skipped: 0 [info] [info] --- jetty-maven-plugin:8.1.10.v20130312:stop (stop-jetty) @ isirep --- [info] [info] --- maven-failsafe-plugin:2.12:verify (verify) @ isirep --- [info] failsafe report directory: /home/moien/isirep/target/failsafe-reports [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 58.147s [info] finished at: mon oct 07 17:25:11 irst 2013 [info] final memory: 40m/369m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.12:verify (verify) on project isirep: there test failures. [error] [error] please refer /home/moien/isirep/target/failsafe-reports individual test results. [error] -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging.
any on how solve appreciated. thank you
the maven-failsafe-plugin executes when run "mvn install/test/verify". if objective war file, can deployed application server can 1 of following.
- run "mvn package", tests not run.
- run "mvn install -dskiptests=true". skip running tests.
however, if basic test verifies web application, need identify why test failing , fix it. can try "mvndebug", if need put breakpoint debug.
Comments
Post a Comment