diff --git a/pom.xml b/pom.xml index 3adf855..62b4362 100644 --- a/pom.xml +++ b/pom.xml @@ -8,15 +8,27 @@ 2.4.4 + org.sadtech.example spring-validation 0.0.1-SNAPSHOT spring-validation - Demo project for Spring Boot + 11 + + + javax.validation + validation-api + + + org.hibernate + hibernate-validator + 7.0.0.Final + + org.springframework.boot spring-boot-starter-data-jpa @@ -40,11 +52,6 @@ lombok true - - org.springframework.boot - spring-boot-starter-test - test - diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 8b13789..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml new file mode 100644 index 0000000..944e801 --- /dev/null +++ b/src/main/resources/application.yaml @@ -0,0 +1,3 @@ +spring: + liquibase: + change-log: classpath:db/changelog/changelog.xml \ No newline at end of file diff --git a/src/main/resources/db/changelog/changelog.xml b/src/main/resources/db/changelog/changelog.xml new file mode 100644 index 0000000..dcae37f --- /dev/null +++ b/src/main/resources/db/changelog/changelog.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/test/java/org/sadtech/example/springvalidation/SpringValidationApplicationTests.java b/src/test/java/org/sadtech/example/springvalidation/SpringValidationApplicationTests.java deleted file mode 100644 index 713c713..0000000 --- a/src/test/java/org/sadtech/example/springvalidation/SpringValidationApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.sadtech.example.springvalidation; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class SpringValidationApplicationTests { - - @Test - void contextLoads() { - } - -}