add maven dependency

This commit is contained in:
uPagge 2021-03-22 15:52:14 +03:00
parent f4c0062d15
commit 04112db62c
No known key found for this signature in database
GPG Key ID: 964B40928E4C9088
5 changed files with 24 additions and 20 deletions

19
pom.xml
View File

@ -8,15 +8,27 @@
<version>2.4.4</version> <version>2.4.4</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>org.sadtech.example</groupId> <groupId>org.sadtech.example</groupId>
<artifactId>spring-validation</artifactId> <artifactId>spring-validation</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>spring-validation</name> <name>spring-validation</name>
<description>Demo project for Spring Boot</description>
<properties> <properties>
<java.version>11</java.version> <java.version>11</java.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>7.0.0.Final</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>spring-boot-starter-data-jpa</artifactId>
@ -40,11 +52,6 @@
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -1 +0,0 @@

View File

@ -0,0 +1,3 @@
spring:
liquibase:
change-log: classpath:db/changelog/changelog.xml

View File

@ -0,0 +1,8 @@
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
</databaseChangeLog>

View File

@ -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() {
}
}