From 06143195d03185ff3163cb778f51da4a2caf300b Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 29 Apr 2016 22:41:21 +0900 Subject: [PATCH] Make json-path and selenium-api optional Make json-path and selenium-api optional in spring-boot-test and spring-boot-test-autoconfigure. Fixes gh-5828 --- spring-boot-test-autoconfigure/pom.xml | 10 ++++++++++ spring-boot-test/pom.xml | 20 +++++++++++--------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/spring-boot-test-autoconfigure/pom.xml b/spring-boot-test-autoconfigure/pom.xml index 8a4ffa206b..76ae50bbfe 100644 --- a/spring-boot-test-autoconfigure/pom.xml +++ b/spring-boot-test-autoconfigure/pom.xml @@ -44,6 +44,11 @@ jackson-databind true + + com.jayway.jsonpath + json-path + true + net.sourceforge.htmlunit htmlunit @@ -65,6 +70,11 @@ htmlunit-driver true + + org.seleniumhq.selenium + selenium-api + true + org.springframework spring-orm diff --git a/spring-boot-test/pom.xml b/spring-boot-test/pom.xml index 56c7ee9306..ff648694f3 100644 --- a/spring-boot-test/pom.xml +++ b/spring-boot-test/pom.xml @@ -36,7 +36,12 @@ true - javax.servlet + com.jayway.jsonpath + json-path + true + + + javax.servlet javax.servlet-api true @@ -80,6 +85,11 @@ htmlunit-driver true + + org.seleniumhq.selenium + selenium-api + true + org.springframework spring-test @@ -122,14 +132,6 @@ true test - - com.jayway.jsonpath - json-path - - - org.seleniumhq.selenium - selenium-api -