diff --git a/config/database/mysql/apopulate-schemas.sql b/config/database/mysql/apopulate-schemas.sql index cd449f1a..ea90f79a 100644 --- a/config/database/mysql/apopulate-schemas.sql +++ b/config/database/mysql/apopulate-schemas.sql @@ -1,3 +1,7 @@ +# +# Command: mysql -u root -p < apopulate_schemas.sql +# + INSERT INTO COLLABORATOR (id, email, creation_date) VALUES (1, 'test@wisemapping.org', CURRENT_DATE()); INSERT INTO USER (colaborator_id, firstname, lastname, password, activation_code, activation_date, allow_send_email,authentication_type) VALUES (1, 'Test', 'User', 'ENC:a94a8fe5ccb19ba61c4c0873d391e987982fbbd3', 1237, CURRENT_DATE(), 1,'D'); diff --git a/config/database/mysql/create-database.sql b/config/database/mysql/create-database.sql index 52a7cd2f..6d2cd226 100644 --- a/config/database/mysql/create-database.sql +++ b/config/database/mysql/create-database.sql @@ -1,3 +1,6 @@ +# +# Command: mysql -u root -p < create_database.sql +# DROP DATABASE IF EXISTS wisemapping; CREATE DATABASE IF NOT EXISTS wisemapping diff --git a/config/database/mysql/create-schemas.sql b/config/database/mysql/create-schemas.sql index 4e26a3fc..c9164ad0 100644 --- a/config/database/mysql/create-schemas.sql +++ b/config/database/mysql/create-schemas.sql @@ -1,3 +1,7 @@ +# +# Command: mysql -u root -p < create_schemas.sql +# + USE wisemapping; CREATE TABLE COLLABORATOR ( diff --git a/wise-webapp/pom.xml b/wise-webapp/pom.xml index b215d43c..a788a2a6 100644 --- a/wise-webapp/pom.xml +++ b/wise-webapp/pom.xml @@ -507,12 +507,38 @@ - org.apache.maven.plugins maven-surefire-plugin - + + org.jacoco + jacoco-maven-plugin + 0.6.4.201312101107 + + + + pre-unit-test + + prepare-agent + + + + + post-unit-test + test + + report + + + + org.apache.tomcat.maven tomcat7-maven-plugin