Browse Source

Update to Spring boot 2.3.4, add Maven dependency

'spring-boot-starter-validation'
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.1-alpha
Pekka Helenius 4 years ago
parent
commit
f03cd4795a
1 changed files with 6 additions and 12 deletions
  1. +6
    -12
      bookstore/pom.xml

+ 6
- 12
bookstore/pom.xml View File

@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<version>2.3.4.RELEASE</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath /> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>com.fjordtek.bookstore</groupId> <groupId>com.fjordtek.bookstore</groupId>
@ -42,6 +42,11 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</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>
@ -51,18 +56,7 @@
<groupId>com.h2database</groupId> <groupId>com.h2database</groupId>
<artifactId>h2</artifactId> <artifactId>h2</artifactId>
</dependency> </dependency>
<!--
NOTE: Do NOT enable validation dependency separately because it likely will conflict
with <parent> version number and therefore, all validation check functionality
is ignored by Spring Framework.
Instead, drop down the version number so that we don't need to separately enable
this dependency. (Find a better solution if needed)
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
-->
</dependencies> </dependencies>
<build> <build>


Loading…
Cancel
Save