From 7ed1534c7b66ecfd7d9d4267a9951d3040e0693a Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 21 Sep 2015 16:46:57 -0700 Subject: [PATCH] Exclude validation JARs from deployment tests Exclude spring-boot-starter-validation since those jars are provided by the container. --- .../spring-boot-deployment-test-tomee/pom.xml | 6 +++--- .../spring-boot-deployment-test-wildfly/pom.xml | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml b/spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml index ad740ba9f5..76de31b7e0 100644 --- a/spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml +++ b/spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml @@ -33,9 +33,9 @@ spring-boot-starter-tomcat - org.hibernate - hibernate-validator - + org.springframework.boot + spring-boot-starter-validation + diff --git a/spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml b/spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml index a711a74e85..62205e58b6 100644 --- a/spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml +++ b/spring-boot-deployment-tests/spring-boot-deployment-test-wildfly/pom.xml @@ -31,6 +31,10 @@ org.springframework.boot spring-boot-starter-tomcat + + org.springframework.boot + spring-boot-starter-validation +