aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-05-21 01:57:35 +0300
committerGravatar Vitaly Takmazov2022-05-21 01:57:35 +0300
commit0f0326ce9c610907c44118ed4383415086827b5b (patch)
tree45904363489c520e14c8a6f6a4663c3307f18b95
parent1a1ec6e3f71d061088ffa86c6be2d6952da5bb89 (diff)
Upgrade to Spring Boot 2.7
* replace deprecated config property
-rw-r--r--pom.xml4
-rw-r--r--src/main/resources/application.properties2
2 files changed, 3 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index b27a52e8..110b85e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>2.6.7</version>
+ <version>2.7.0</version>
<relativePath />
</parent>
<groupId>com.juick</groupId>
@@ -348,4 +348,4 @@
</dependencies>
</profile>
</profiles>
-</project> \ No newline at end of file
+</project>
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 06fc9537..d176bb5a 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -4,6 +4,6 @@ spring.jackson.serialization.write-dates-as-timestamps=false
spring.jackson.serialization.write-empty-json-arrays=true
spring.h2.console.enabled=true
spring.datasource.generate-unique-name=false
-spring.datasource.platform=h2
+spring.sql.init.platform=h2
spring.profiles.active=@activatedProperties@