From ca716561dc0563e415f09c10a149927b3a742910 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 5 Apr 2016 09:11:17 +0100 Subject: [PATCH] Update deployment test exclusions after web starter validation changes The changes made in a6c1668b mean that the web starter no longer depends on spring-boot-starter-validation. Instead, it depends directly on hibernate-validator. This means that the exclusion of the validation starter in the TomEE deployment test app no longer matches anything and hibernate-validator is packaged in the war. This breaks the application as TomEE ships with Bean Validation 2.0 and the version of Hibernate Validator being used requires 2.1. This commit updates the exclusions in the TomEE deployment app so that hibernate-validator is excluded once again. This allows the app to use TomEE's bundled Bean Validation implementation. The stale spring-boot-starter-validation exclusion has been removed from the Wildfly deployment test app. It is redundant as Wildfly ships with Bean Validation 2.1. This brings this test app into line with the Glassfish test app. Closes gh-5454 --- .../spring-boot-deployment-test-tomee/pom.xml | 4 ++-- .../spring-boot-deployment-test-wildfly/pom.xml | 4 ---- 2 files changed, 2 insertions(+), 6 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 8965279c43..35be7746e6 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,8 +33,8 @@ spring-boot-starter-tomcat - org.springframework.boot - spring-boot-starter-validation + org.hibernate + hibernate-validator 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 657b6869ee..091cd07dd8 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,10 +31,6 @@ org.springframework.boot spring-boot-starter-tomcat - - org.springframework.boot - spring-boot-starter-validation -