Exclude validation JARs from deployment tests

Exclude spring-boot-starter-validation since those jars are provided
by the container.
This commit is contained in:
Phillip Webb 2015-09-21 16:46:57 -07:00
parent 21de97da50
commit 7ed1534c7b
2 changed files with 7 additions and 3 deletions

View File

@ -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>

View File

@ -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>