diff --git a/pom.xml b/pom.xml index f6a2477d..286e4f10 100644 --- a/pom.xml +++ b/pom.xml @@ -61,11 +61,6 @@ org.codehaus.mojo 3.0.0 - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - org.apache.maven.plugins maven-resources-plugin diff --git a/wise-webapp/pom.xml b/wise-webapp/pom.xml index 537d1cfc..36ba177c 100644 --- a/wise-webapp/pom.xml +++ b/wise-webapp/pom.xml @@ -47,15 +47,22 @@ org.springframework.boot - spring-boot-test + spring-boot-starter-test test - junit - junit + org.junit.vintage + junit-vintage-engine + + + + + + + org.springframework spring-test @@ -215,46 +222,11 @@ org.springframework.boot spring-boot-maven-plugin - - - org.apache.maven.plugins - maven-war-plugin - 3.4.0 - - wisemapping - - - org.wisemapping - wise-ui - /static/mindplot/ - - wisemapping-mindplot/package/dist/* - - - - org.wisemapping - wise-ui - /static/webapp/ - - wisemapping-webapp/package/dist/* - - - - true - - WEB-INF/lib/commons-logging-*.jar, - - - - src/main/resources - WEB-INF - - *.wsdl - *.xsd - - - - + + + + + diff --git a/wise-webapp/src/main/resources/application.properties b/wise-webapp/src/main/resources/application.properties index 48ebe3f5..dd106d7f 100755 --- a/wise-webapp/src/main/resources/application.properties +++ b/wise-webapp/src/main/resources/application.properties @@ -3,9 +3,7 @@ SpringBoot Common ################################################################################## # JPA -spring.datasource.initialize=true spring.main.allow-circular-references=true - spring.jpa.open-in-view=true spring.jpa.hibernate.ddl-auto=none spring.jpa.properties.hibernate.current_session_context_class=thread @@ -13,8 +11,7 @@ spring.jpa.properties.hibernate.format_sql=true spring.sql.init.mode=always # LOG - -logging.level.root=TRACE +logging.level.root=INFO logging.level.org.apache.tomcat=INFO ################################################################################## @@ -130,5 +127,6 @@ database.base.url=/Users/veigap/ spring.datasource.url=jdbc:hsqldb:file:${database.base.url}/db/wisemapping spring.datasource.username=sa spring.datasource.password= + spring.datasource.driver-class-name = org.hsqldb.jdbc.JDBCDriver spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.HSQLDialect diff --git a/wise-webapp/src/main/resources/data-hsqldb.sql b/wise-webapp/src/main/resources/data.sql similarity index 100% rename from wise-webapp/src/main/resources/data-hsqldb.sql rename to wise-webapp/src/main/resources/data.sql diff --git a/wise-webapp/src/main/resources/schema-hsqldb.sql b/wise-webapp/src/main/resources/schema.sql similarity index 100% rename from wise-webapp/src/main/resources/schema-hsqldb.sql rename to wise-webapp/src/main/resources/schema.sql