Commit 7ed1534c authored by Phillip Webb's avatar Phillip Webb

Exclude validation JARs from deployment tests

Exclude spring-boot-starter-validation since those jars are provided
by the container.
parent 21de97da
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>org.hibernate</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>hibernate-validator</artifactId> <artifactId>spring-boot-starter-validation</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment