From 559f907b542029dd4069aa6afdfa25127b9b9685 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 17 Jan 2014 09:07:46 +0000 Subject: [PATCH] Use explicit test dependencies in samples --- spring-boot-samples/pom.xml | 16 +--------------- .../spring-boot-sample-actuator-log4j/pom.xml | 11 +++++++++++ .../spring-boot-sample-actuator-noweb/pom.xml | 5 +++++ .../spring-boot-sample-actuator-ui/pom.xml | 5 +++++ .../spring-boot-sample-actuator/pom.xml | 5 +++++ .../spring-boot-sample-amqp/pom.xml | 5 +++++ .../spring-boot-sample-aop/pom.xml | 5 +++++ .../spring-boot-sample-batch/pom.xml | 5 +++++ .../spring-boot-sample-data-jpa/pom.xml | 11 +++++------ .../spring-boot-sample-data-mongodb/pom.xml | 5 +++++ .../spring-boot-sample-data-redis/pom.xml | 5 +++++ .../spring-boot-sample-integration/pom.xml | 5 +++++ .../spring-boot-sample-jetty/pom.xml | 5 +++++ .../spring-boot-sample-profile/pom.xml | 5 +++++ .../spring-boot-sample-secure/pom.xml | 5 +++++ .../spring-boot-sample-servlet/pom.xml | 5 +++++ .../spring-boot-sample-simple/pom.xml | 5 +++++ .../spring-boot-sample-tomcat/pom.xml | 5 +++++ .../spring-boot-sample-traditional/pom.xml | 5 +++++ .../spring-boot-sample-web-jsp/pom.xml | 5 +++++ .../spring-boot-sample-web-secure/pom.xml | 5 +++++ .../spring-boot-sample-web-static/pom.xml | 5 +++++ .../spring-boot-sample-web-ui/pom.xml | 5 +++++ .../spring-boot-sample-websocket/pom.xml | 5 +++++ .../spring-boot-sample-xml/pom.xml | 5 +++++ 25 files changed, 127 insertions(+), 21 deletions(-) diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml index 5c7fd07c4d..9740bd9126 100644 --- a/spring-boot-samples/pom.xml +++ b/spring-boot-samples/pom.xml @@ -39,21 +39,7 @@ spring-boot-sample-websocket spring-boot-sample-xml - - - - ${project.groupId} - spring-boot - ${project.version} - tests - test - - - org.springframework - spring-test - test - - + diff --git a/spring-boot-samples/spring-boot-sample-actuator-log4j/pom.xml b/spring-boot-samples/spring-boot-sample-actuator-log4j/pom.xml index 513d8c4c37..47f54ff85d 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-log4j/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-log4j/pom.xml @@ -32,6 +32,17 @@ ${project.groupId} spring-boot-starter-log4j + + ${project.groupId} + spring-boot-starter-test + test + + + ${project.groupId} + spring-boot-starter-logging + + + diff --git a/spring-boot-samples/spring-boot-sample-actuator-noweb/pom.xml b/spring-boot-samples/spring-boot-sample-actuator-noweb/pom.xml index de4eef79d0..6a8dda73bf 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-noweb/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-noweb/pom.xml @@ -22,6 +22,11 @@ ${project.groupId} spring-boot-starter-shell-remote + + ${project.groupId} + spring-boot-starter-test + test + diff --git a/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml b/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml index 3f66493a44..f6ac82cc1d 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml @@ -40,6 +40,11 @@ org.jolokia jolokia-core + + ${project.groupId} + spring-boot-starter-test + test + diff --git a/spring-boot-samples/spring-boot-sample-actuator/pom.xml b/spring-boot-samples/spring-boot-sample-actuator/pom.xml index 423dbdd3ef..7dbe586a43 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator/pom.xml @@ -42,6 +42,11 @@ ${project.groupId} spring-boot-starter-shell-remote + + ${project.groupId} + spring-boot-starter-test + test +