Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Metadata Server - Core 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ metadataserver-core ---
- [INFO] Deleting /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ metadataserver-core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 8 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ metadataserver-core ---
- [INFO] Compiling 36 source files to /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ metadataserver-core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 12 resources
- [INFO]
- [INFO] >>> hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ metadataserver-core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 8 resources
- [INFO]
- [INFO] <<< hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core <<<
- [INFO]
- [INFO] --- hibernate3-maven-plugin:2.2:hbm2ddl (default) @ metadataserver-core ---
- [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/openmrs-contrib-metadataserver/core/src/main/resources/hibernate.cfg.xml
- [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/openmrs-contrib-metadataserver/core/src/main/resources/hibernate.cfg.xml
- [INFO] Configuration Properties file loaded: /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/test-classes/jdbc.properties
- alter table user_role drop foreign key FK143BF46A415428C8;
- alter table user_role drop foreign key FK143BF46AE67EECA8;
- drop table if exists app_user;
- drop table if exists role;
- drop table if exists user_role;
- 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;
- create table role (id bigint not null auto_increment, description varchar(64), name varchar(20), primary key (id)) ENGINE=InnoDB;
- create table user_role (user_id bigint not null, role_id bigint not null, primary key (user_id, role_id)) ENGINE=InnoDB;
- alter table user_role add index FK143BF46A415428C8 (role_id), add constraint FK143BF46A415428C8 foreign key (role_id) references role (id);
- alter table user_role add index FK143BF46AE67EECA8 (user_id), add constraint FK143BF46AE67EECA8 foreign key (user_id) references app_user (id);
- [INFO]
- [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ metadataserver-core ---
- [INFO] Compiling 19 source files to /Users/pamusriharsha/openmrs-contrib-metadataserver/core/target/test-classes
- [INFO]
- [INFO] --- dbunit-maven-plugin:1.0-beta-3:operation (test-compile) @ metadataserver-core ---
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- 4277 [main] INFO org.dbunit.database.DatabaseDataSet -
- database name=MySQL
- database version=5.5.21
- database major version=5
- database minor version=5
- jdbc driver name=MySQL-AB JDBC Driver
- jdbc driver version=mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
- jdbc driver major version=5
- jdbc driver minor version=1
- 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]
- [INFO] Total time: 45.589s
- [INFO] Finished at: Mon May 28 17:12:21 GMT+05:30 2012
- [INFO] Final Memory: 19M/81M
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement