From 09395f956ad223e7c0d32a8c08f670bcb5e90209 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 7 Oct 2015 09:54:44 -0700 Subject: [PATCH] Compile samples and integration tests with Java 8 Update the samples and integration tests to use Java 8. There's no specific reason to keep them on Java 6 and it helps keep Eclipse happy if we upgrade. --- spring-boot-integration-tests/pom.xml | 1 + spring-boot-samples/pom.xml | 4 +++- spring-boot-samples/spring-boot-sample-jersey/pom.xml | 1 - spring-boot-samples/spring-boot-sample-jta-jndi/pom.xml | 1 - spring-boot-samples/spring-boot-sample-servlet/pom.xml | 1 - spring-boot-samples/spring-boot-sample-tomcat-jsp/pom.xml | 1 - spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml | 1 - spring-boot-samples/spring-boot-sample-web-jsp/pom.xml | 1 - spring-boot-samples/spring-boot-sample-web-static/pom.xml | 1 - .../spring-boot-sample-websocket-jetty/pom.xml | 1 - .../spring-boot-sample-websocket-tomcat/pom.xml | 1 - .../spring-boot-sample-websocket-undertow/pom.xml | 1 - 12 files changed, 4 insertions(+), 11 deletions(-) diff --git a/spring-boot-integration-tests/pom.xml b/spring-boot-integration-tests/pom.xml index 8e50df99383..9c61788a593 100644 --- a/spring-boot-integration-tests/pom.xml +++ b/spring-boot-integration-tests/pom.xml @@ -18,6 +18,7 @@ ${basedir}/.. + 1.8 spring-boot-gradle-tests diff --git a/spring-boot-samples/pom.xml b/spring-boot-samples/pom.xml index 2a56ffc3870..d77c6f55b9b 100644 --- a/spring-boot-samples/pom.xml +++ b/spring-boot-samples/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 org.springframework.boot @@ -18,6 +19,7 @@ ${basedir}/.. + 1.8 spring-boot-sample-actuator diff --git a/spring-boot-samples/spring-boot-sample-jersey/pom.xml b/spring-boot-samples/spring-boot-sample-jersey/pom.xml index e219f6ebf08..320b94f9cce 100644 --- a/spring-boot-samples/spring-boot-sample-jersey/pom.xml +++ b/spring-boot-samples/spring-boot-sample-jersey/pom.xml @@ -18,7 +18,6 @@ ${basedir}/../.. - 1.7 diff --git a/spring-boot-samples/spring-boot-sample-jta-jndi/pom.xml b/spring-boot-samples/spring-boot-sample-jta-jndi/pom.xml index 4aba3c8b5e4..e4edda40014 100644 --- a/spring-boot-samples/spring-boot-sample-jta-jndi/pom.xml +++ b/spring-boot-samples/spring-boot-sample-jta-jndi/pom.xml @@ -17,7 +17,6 @@ http://www.spring.io - 1.7 ${basedir}/../.. diff --git a/spring-boot-samples/spring-boot-sample-servlet/pom.xml b/spring-boot-samples/spring-boot-sample-servlet/pom.xml index e96dc1f047f..1d92d532d28 100644 --- a/spring-boot-samples/spring-boot-sample-servlet/pom.xml +++ b/spring-boot-samples/spring-boot-sample-servlet/pom.xml @@ -18,7 +18,6 @@ ${basedir}/../.. - 1.7 / diff --git a/spring-boot-samples/spring-boot-sample-tomcat-jsp/pom.xml b/spring-boot-samples/spring-boot-sample-tomcat-jsp/pom.xml index 655be0ae5a4..849629fbb8a 100644 --- a/spring-boot-samples/spring-boot-sample-tomcat-jsp/pom.xml +++ b/spring-boot-samples/spring-boot-sample-tomcat-jsp/pom.xml @@ -19,7 +19,6 @@ ${basedir}/../.. / - 1.7 diff --git a/spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml b/spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml index b3a608326b8..c394d83dc16 100644 --- a/spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml +++ b/spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml @@ -20,7 +20,6 @@ ${basedir}/../.. / 7.0.59 - 1.7 diff --git a/spring-boot-samples/spring-boot-sample-web-jsp/pom.xml b/spring-boot-samples/spring-boot-sample-web-jsp/pom.xml index 6ff960f4307..a6dc9b3c72f 100644 --- a/spring-boot-samples/spring-boot-sample-web-jsp/pom.xml +++ b/spring-boot-samples/spring-boot-sample-web-jsp/pom.xml @@ -18,7 +18,6 @@ ${basedir}/../.. - 1.7 / 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 47d8d140230..3dade1d797d 100644 --- a/spring-boot-samples/spring-boot-sample-web-static/pom.xml +++ b/spring-boot-samples/spring-boot-sample-web-static/pom.xml @@ -17,7 +17,6 @@ http://www.spring.io - 1.7 ${basedir}/../.. diff --git a/spring-boot-samples/spring-boot-sample-websocket-jetty/pom.xml b/spring-boot-samples/spring-boot-sample-websocket-jetty/pom.xml index 17ff9a49637..53d5285f966 100755 --- a/spring-boot-samples/spring-boot-sample-websocket-jetty/pom.xml +++ b/spring-boot-samples/spring-boot-sample-websocket-jetty/pom.xml @@ -17,7 +17,6 @@ ${basedir}/../.. - 1.7 diff --git a/spring-boot-samples/spring-boot-sample-websocket-tomcat/pom.xml b/spring-boot-samples/spring-boot-sample-websocket-tomcat/pom.xml index 01a47ca2ee7..fa69d90100a 100755 --- a/spring-boot-samples/spring-boot-sample-websocket-tomcat/pom.xml +++ b/spring-boot-samples/spring-boot-sample-websocket-tomcat/pom.xml @@ -17,7 +17,6 @@ ${basedir}/../.. - 1.7 diff --git a/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml b/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml index 85c8cf8f143..bbdacfa25ab 100755 --- a/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml +++ b/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml @@ -17,7 +17,6 @@ ${basedir}/../.. - 1.7