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 1c07bc7eedf..5dcb4104dbd 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 27d22f94999..a50c660feee 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 c5db2cfd9aa..06709f34675 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 43c19d1f012..527cc41ef43 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 c10e50f5275..71803280313 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 22a74ceb282..e310ebfdf35 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 e1cf213435e..aadfdc67881 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 65179e1c6dd..8d4129c1790 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 b3cb2d180d8..78cb331f299 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 7916f24370e..4265674f7ed 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 5402a3eb8cb..dd2169c2eea 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 9d1394a3664..990aa220715 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 d0deb823778..6133b4779d4 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 8450f22aa3d..fbcc755f832 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 4bd3b9b40ea..1741297358a 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 + +