From 3922a7f5261894e262e3fe06861fdcd8f9e5ed19 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 5 Aug 2013 12:43:24 +0100 Subject: [PATCH] Reinstate junit dependencies in starters --- .../spring-boot-sample-actuator-ui/pom.xml | 2 +- .../spring-boot-sample-actuator/pom.xml | 2 +- .../spring-boot-sample-batch/pom.xml | 2 +- .../spring-boot-sample-data-jpa/pom.xml | 2 +- .../spring-boot-sample-integration/pom.xml | 2 +- .../spring-boot-sample-jetty/pom.xml | 2 +- .../spring-boot-sample-profile/pom.xml | 2 +- .../spring-boot-sample-simple/pom.xml | 2 +- .../spring-boot-sample-tomcat/pom.xml | 2 +- .../spring-boot-sample-traditional/pom.xml | 2 +- .../spring-boot-sample-web-static/pom.xml | 2 +- .../spring-boot-sample-web-ui/pom.xml | 2 +- .../spring-boot-sample-xml/pom.xml | 2 +- .../spring-boot-starter-parent/pom.xml | 26 ++++++++++++++++++- spring-boot-starters/src/main/parent/pom.xml | 26 ++++++++++++++++++- 15 files changed, 63 insertions(+), 15 deletions(-) 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 1c07bc7eed..5dcb4104db 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-actuator-ui diff --git a/spring-boot-samples/spring-boot-sample-actuator/pom.xml b/spring-boot-samples/spring-boot-sample-actuator/pom.xml index 27d22f9499..a50c660fee 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/pom.xml +++ b/spring-boot-samples/spring-boot-sample-actuator/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-actuator diff --git a/spring-boot-samples/spring-boot-sample-batch/pom.xml b/spring-boot-samples/spring-boot-sample-batch/pom.xml index c5db2cfd9a..06709f3467 100644 --- a/spring-boot-samples/spring-boot-sample-batch/pom.xml +++ b/spring-boot-samples/spring-boot-sample-batch/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-batch diff --git a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml index 43c19d1f01..527cc41ef4 100644 --- a/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml +++ b/spring-boot-samples/spring-boot-sample-data-jpa/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-data-jpa diff --git a/spring-boot-samples/spring-boot-sample-integration/pom.xml b/spring-boot-samples/spring-boot-sample-integration/pom.xml index c10e50f527..7180328031 100644 --- a/spring-boot-samples/spring-boot-sample-integration/pom.xml +++ b/spring-boot-samples/spring-boot-sample-integration/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-integration diff --git a/spring-boot-samples/spring-boot-sample-jetty/pom.xml b/spring-boot-samples/spring-boot-sample-jetty/pom.xml index 22a74ceb28..e310ebfdf3 100644 --- a/spring-boot-samples/spring-boot-sample-jetty/pom.xml +++ b/spring-boot-samples/spring-boot-sample-jetty/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-jetty diff --git a/spring-boot-samples/spring-boot-sample-profile/pom.xml b/spring-boot-samples/spring-boot-sample-profile/pom.xml index e1cf213435..aadfdc6788 100644 --- a/spring-boot-samples/spring-boot-sample-profile/pom.xml +++ b/spring-boot-samples/spring-boot-sample-profile/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-profile diff --git a/spring-boot-samples/spring-boot-sample-simple/pom.xml b/spring-boot-samples/spring-boot-sample-simple/pom.xml index 65179e1c6d..8d4129c179 100644 --- a/spring-boot-samples/spring-boot-sample-simple/pom.xml +++ b/spring-boot-samples/spring-boot-sample-simple/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-simple diff --git a/spring-boot-samples/spring-boot-sample-tomcat/pom.xml b/spring-boot-samples/spring-boot-sample-tomcat/pom.xml index b3cb2d180d..78cb331f29 100644 --- a/spring-boot-samples/spring-boot-sample-tomcat/pom.xml +++ b/spring-boot-samples/spring-boot-sample-tomcat/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-tomcat diff --git a/spring-boot-samples/spring-boot-sample-traditional/pom.xml b/spring-boot-samples/spring-boot-sample-traditional/pom.xml index 7916f24370..4265674f7e 100644 --- a/spring-boot-samples/spring-boot-sample-traditional/pom.xml +++ b/spring-boot-samples/spring-boot-sample-traditional/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-traditional diff --git a/spring-boot-samples/spring-boot-sample-web-static/pom.xml b/spring-boot-samples/spring-boot-sample-web-static/pom.xml index 5402a3eb8c..dd2169c2ee 100644 --- a/spring-boot-samples/spring-boot-sample-web-static/pom.xml +++ b/spring-boot-samples/spring-boot-sample-web-static/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-web-static diff --git a/spring-boot-samples/spring-boot-sample-web-ui/pom.xml b/spring-boot-samples/spring-boot-sample-web-ui/pom.xml index 9d1394a366..990aa22071 100644 --- a/spring-boot-samples/spring-boot-sample-web-ui/pom.xml +++ b/spring-boot-samples/spring-boot-sample-web-ui/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-web-ui diff --git a/spring-boot-samples/spring-boot-sample-xml/pom.xml b/spring-boot-samples/spring-boot-sample-xml/pom.xml index d0deb82377..6133b4779d 100644 --- a/spring-boot-samples/spring-boot-sample-xml/pom.xml +++ b/spring-boot-samples/spring-boot-sample-xml/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-samples + spring-boot-starter-parent 0.5.0.BUILD-SNAPSHOT spring-boot-sample-xml diff --git a/spring-boot-starters/spring-boot-starter-parent/pom.xml b/spring-boot-starters/spring-boot-starter-parent/pom.xml index 8450f22aa3..fbcc755f83 100644 --- a/spring-boot-starters/spring-boot-starter-parent/pom.xml +++ b/spring-boot-starters/spring-boot-starter-parent/pom.xml @@ -17,12 +17,13 @@ pom 0.5.0.BUILD-SNAPSHOT + 1.6 org.springframework.boot - spring-boot-strap + spring-boot ${spring.boot.version} @@ -77,6 +78,29 @@ + + + + junit + junit + test + + + org.mockito + mockito-core + test + + + org.hamcrest + hamcrest-library + test + + + org.springframework + spring-test + test + + diff --git a/spring-boot-starters/src/main/parent/pom.xml b/spring-boot-starters/src/main/parent/pom.xml index 4bd3b9b40e..1741297358 100644 --- a/spring-boot-starters/src/main/parent/pom.xml +++ b/spring-boot-starters/src/main/parent/pom.xml @@ -17,12 +17,13 @@ pom @{project.version} + 1.6 org.springframework.boot - spring-boot-strap + spring-boot ${spring.boot.version} @@ -77,6 +78,29 @@ + + + + junit + junit + test + + + org.mockito + mockito-core + test + + + org.hamcrest + hamcrest-library + test + + + org.springframework + spring-test + test + +