From 6b74d6588e5dd18a73d70ff8bb66a783beeaa494 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Thu, 9 May 2019 10:19:37 +0200 Subject: [PATCH] TSK-850: reconfigured taskana-rest-spring-example --- rest/taskana-rest-spring-example/pom.xml | 100 +++++++++--------- .../src/main/resources/application.properties | 2 + 2 files changed, 53 insertions(+), 49 deletions(-) diff --git a/rest/taskana-rest-spring-example/pom.xml b/rest/taskana-rest-spring-example/pom.xml index 1c2bad3bb..b704d959a 100644 --- a/rest/taskana-rest-spring-example/pom.xml +++ b/rest/taskana-rest-spring-example/pom.xml @@ -3,59 +3,28 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - - pro.taskana taskana-rest-spring-example - 1.1.3-SNAPSHOT - jar rest Demo project for taskana-rest-spring - org.springframework.boot - spring-boot-starter-parent - 2.0.2.RELEASE - + pro.taskana + taskana-rest-parent + 1.1.2-SNAPSHOT + .. - - - - - novatec public - novatec-repository - https://repository.novatec-gmbh.de/content/repositories/novatec/ - - - - - - - history.plugin - - false - - - - pro.taskana.simplehistory - taskana-simplehistory-rest-spring - 0.0.9 - - - - - - - UTF-8 - UTF-8 - 1.8 - 2.3.2.RELEASE - + + + + org.springframework.boot + spring-boot-dependencies + ${version.spring-boot} + pom + import + + + @@ -77,7 +46,6 @@ org.springframework.ldap spring-ldap-core - ${spring.ldap.version} com.h2database @@ -120,25 +88,50 @@ org.springframework.ldap spring-ldap-test - ${spring.ldap.version} test - commons-logging commons-logging + commons-logging + + + history.plugin + + false + + + + pro.taskana.simplehistory + taskana-simplehistory-rest-spring + 0.0.9 + + + + + org.springframework.boot spring-boot-maven-plugin + ${version.spring-boot} + + + + repackage + + + + org.apache.maven.plugins maven-resources-plugin + 3.1.0 copy-documentation-to-static-folder @@ -163,4 +156,13 @@ + + + + + novatec public + novatec-repository + https://repository.novatec-gmbh.de/content/repositories/novatec/ + + diff --git a/rest/taskana-rest-spring-example/src/main/resources/application.properties b/rest/taskana-rest-spring-example/src/main/resources/application.properties index 24eced016..3a4282c45 100644 --- a/rest/taskana-rest-spring-example/src/main/resources/application.properties +++ b/rest/taskana-rest-spring-example/src/main/resources/application.properties @@ -52,3 +52,5 @@ spring.resources.cache.cachecontrol.cache-private=true ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy server.tomcat.internal-proxies=.* server.use-forward-headers=true +####### allow bean overriding +spring.main.allow-bean-definition-overriding=true