From 1315d0b891fb9d46b8ce789ef5d7b0f0c724923d Mon Sep 17 00:00:00 2001 From: hekeguang Date: Mon, 24 Aug 2020 14:53:22 +0800 Subject: SECCOM Java 11 migration from v8 [REQ-219] in UUI Issue-ID: USECASEUI-482 Change-Id: If1776f3f8b74f2cb4c6bc7a7e0a894fb2c9a863a Signed-off-by: hekeguang --- server/pom.xml | 44 +++++++++++++++++------- server/src/main/resources/application.properties | 5 +-- 2 files changed, 35 insertions(+), 14 deletions(-) diff --git a/server/pom.xml b/server/pom.xml index 3015d657..5c71f202 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -30,8 +30,8 @@ UTF-8 UTF-8 - 1.8 - 5.0.11.Final + 11 + 5.4.2.Final 1.0.2 1.4 2.9.8 @@ -50,7 +50,7 @@ org.springframework.boot spring-boot-starter-parent - 1.5.6.RELEASE + 2.1.10.RELEASE pom import @@ -186,42 +186,42 @@ org.springframework spring-expression - 5.1.5.RELEASE + 5.1.15.RELEASE org.springframework.data spring-data-commons - 1.13.18.RELEASE + 2.1.10.RELEASE org.springframework spring-core - 4.3.22.RELEASE + 5.1.15.RELEASE org.springframework.data spring-data-rest-webmvc - 2.6.9.RELEASE + 3.1.12.RELEASE org.springframework spring-web - 4.3.22.RELEASE + 5.1.11.RELEASE org.springframework.data spring-data-jpa - 1.11.20.RELEASE + 2.1.10.RELEASE org.springframework spring-webmvc - 4.3.18.RELEASE + 5.1.11.RELEASE org.hibernate hibernate-validator - 5.3.6.Final + 5.4.2.Final org.eclipse.jetty @@ -289,7 +289,7 @@ com.google.code.gson gson - 2.2.4 + 2.8.6 @@ -354,6 +354,26 @@ json-simple 1.1.1 + + javax.xml.bind + jaxb-api + 2.3.0 + + + com.sun.xml.bind + jaxb-impl + 2.3.0 + + + com.sun.xml.bind + jaxb-core + 2.3.0 + + + com.sun.activation + javax.activation + 1.2.0 + diff --git a/server/src/main/resources/application.properties b/server/src/main/resources/application.properties index a742294c..394cc4ed 100644 --- a/server/src/main/resources/application.properties +++ b/server/src/main/resources/application.properties @@ -14,7 +14,7 @@ ## limitations under the License. ## ## General App Properties -server.contextPath=/api/usecaseui-server/v1 +server.servlet.contextPath=/api/usecaseui-server/v1 server.port=8082 spring.http.multipart.max-file-size=128MB spring.http.multipart.max-request-size=128MB @@ -23,10 +23,11 @@ spring.http.multipart.max-request-size=128MB spring.datasource.url=jdbc:postgresql://localhost:5432/uui spring.datasource.username=uui spring.datasource.password=uui -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect spring.database.driver.classname=org.postgresql.Driver spring.jpa.show-sql=false spring.jpa.properties.hibernate.format_sql=false +spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true ## Basic Authentication Properties # security.user.name=usecase -- cgit 1.2.3-korg