Advertisement
Guest User

Untitled

a guest
May 28th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [INFO]
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Building Metadata Server - Core 1.0-SNAPSHOT
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO]
  7. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ metadataserver-core ---
  8. [INFO] Deleting /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target
  9. [INFO]
  10. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ metadataserver-core ---
  11. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  12. [INFO] Copying 8 resources
  13. [INFO]
  14. [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ metadataserver-core ---
  15. [INFO] Compiling 36 source files to /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/classes
  16. [INFO]
  17. [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ metadataserver-core ---
  18. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  19. [INFO] Copying 12 resources
  20. [INFO]
  21. [INFO] >>> hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core >>>
  22. [INFO]
  23. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ metadataserver-core ---
  24. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  25. [INFO] Copying 8 resources
  26. [INFO]
  27. [INFO] <<< hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core <<<
  28. [INFO]
  29. [INFO] --- hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core ---
  30. [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/openmrs-contrib-metadataserver/core/src/main/resources/hibernate.cfg.xml
  31. [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/openmrs-contrib-metadataserver/core/src/main/resources/hibernate.cfg.xml
  32. [INFO] Configuration Properties file loaded: /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/test-classes/jdbc.properties
  33. alter table user_role drop foreign key FK143BF46A415428C8;
  34. alter table user_role drop foreign key FK143BF46AE67EECA8;
  35. drop table if exists app_user;
  36. drop table if exists role;
  37. drop table if exists user_role;
  38. create table app_user (id bigint not null auto_increment, account_expired bit not null, account_locked bit not null, address varchar(150), city varchar(50), country varchar(100), postal_code varchar(15), province varchar(100), credentials_expired bit not null, email varchar(255) not null unique, account_enabled bit, first_name varchar(50) not null, last_name varchar(50) not null, password varchar(255) not null, password_hint varchar(255), phone_number varchar(255), username varchar(50) not null unique, version integer, website varchar(255), primary key (id)) ENGINE=InnoDB;
  39. create table role (id bigint not null auto_increment, description varchar(64), name varchar(20), primary key (id)) ENGINE=InnoDB;
  40. create table user_role (user_id bigint not null, role_id bigint not null, primary key (user_id, role_id)) ENGINE=InnoDB;
  41. alter table user_role add index FK143BF46A415428C8 (role_id), add constraint FK143BF46A415428C8 foreign key (role_id) references role (id);
  42. alter table user_role add index FK143BF46AE67EECA8 (user_id), add constraint FK143BF46AE67EECA8 foreign key (user_id) references app_user (id);
  43. [INFO]
  44. [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ metadataserver-core ---
  45. [INFO] Compiling 19 source files to /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/test-classes
  46. [INFO]
  47. [INFO] --- dbunit-maven-plugin:1.0-beta-3:operation (test-compile) @ metadataserver-core ---
  48. [INFO] ------------------------------------------------------------------------
  49. [INFO] BUILD FAILURE
  50. [INFO] ------------------------------------------------------------------------
  51. 4277 [main] INFO org.dbunit.database.DatabaseDataSet -
  52. database name=MySQL
  53. database version=5.5.21
  54. database major version=5
  55. database minor version=5
  56. jdbc driver name=MySQL-AB JDBC Driver
  57. jdbc driver version=mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
  58. jdbc driver major version=5
  59. jdbc driver minor version=1
  60.  
  61. 4279 [main] INFO org.dbunit.database.DatabaseDataSet - Table 'package' not found in tableMap=org.dbunit.dataset.OrderedTableNameMap[_tableNames=[app_user, role, user_role], _tableMap={USER_ROLE=null, ROLE=null, APP_USER=null}, _caseSensitiveTableNames=false]
  62. [INFO] Total time: 45.589s
  63. [INFO] Finished at: Mon May 28 17:12:21 GMT+05:30 2012
  64. [INFO] Final Memory: 19M/81M
  65. [INFO] ------------------------------------------------------------------------
  66. [ERROR] Failed to execute goal org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (test-compile) on project metadataserver-core: Error executing database operation: CLEAN_INSERT: package -> [Help 1]
  67. [ERROR]
  68. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  69. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  70. [ERROR]
  71. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  72. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement