diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java index b17c76aa742..73d7d3c63f6 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepositoryTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepositoryTests.java index 74dba50c3f8..0383e03051d 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepositoryTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepositoryTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/BootGlobalAuthenticationConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/BootGlobalAuthenticationConfiguration.java index dfd6322ce71..32706afba2f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/BootGlobalAuthenticationConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/BootGlobalAuthenticationConfiguration.java @@ -21,7 +21,6 @@ import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; -import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; @@ -31,18 +30,19 @@ import org.springframework.security.config.annotation.authentication.configurati import org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter; /** - * This works with the {@link AuthenticationConfiguration} to ensure that users are able - * to use: + * {@link GlobalAuthenticationConfigurerAdapter} to trigger early initialization of + * {@code @EnableAutoConfiguration} beans. This configuration is imported from + * {@link AuthenticationConfiguration} to ensure that users are able to configure the + * {@link AuthenticationManagerBuilder} from their {@code @EnableAutoConfiguration} or + * {@code @SpringBootApplication} configuration class: * - *
+ * 
+ * @Autowired
  * public void configureGlobal(AuthenticationManagerBuilder auth) {
  *     ...
  * }
  * 
* - * within their classes annotated with {@link EnableAutoConfiguration} or - * {@link SpringBootApplication}. - * * @author Rob Winch * @since 1.1.11 */ @@ -76,5 +76,7 @@ public class BootGlobalAuthenticationConfiguration { logger.debug("Eagerly initializing " + beansWithAnnotation); } } + } + } diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index bbd824ca08b..e16647cc536 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -1682,4 +1682,4 @@ integration-test - \ No newline at end of file + diff --git a/spring-boot-full-build/pom.xml b/spring-boot-full-build/pom.xml index 3e14110538f..1e3b64c611f 100644 --- a/spring-boot-full-build/pom.xml +++ b/spring-boot-full-build/pom.xml @@ -57,7 +57,6 @@ ../spring-boot-samples ../spring-boot-deployment-tests ../spring-boot-integration-tests - ../spring-boot-security-tests ../spring-boot-docs diff --git a/spring-boot-integration-tests/pom.xml b/spring-boot-integration-tests/pom.xml index dfb4615580f..4d17e9125b9 100644 --- a/spring-boot-integration-tests/pom.xml +++ b/spring-boot-integration-tests/pom.xml @@ -8,7 +8,7 @@ ../spring-boot-parent spring-boot-integration-tests - jar + pom Spring Boot Integration Tests Spring Boot Integration Tests http://projects.spring.io/spring-boot/ @@ -19,24 +19,10 @@ ${basedir}/.. - - - org.gradle - gradle-tooling-api - ${gradle.version} - test - - - org.springframework.boot - spring-boot - test - - - org.springframework.boot - spring-boot-dependency-tools - test - - + + spring-boot-gradle-tests + spring-boot-security-tests + default @@ -50,6 +36,7 @@ is available --> org.apache.maven.plugins maven-invoker-plugin + false src/it/settings.xml ${main.basedir}/spring-boot-samples/ @@ -60,6 +47,9 @@ integration-test + + */pom.xml + @@ -75,6 +65,7 @@ org.apache.maven.plugins maven-antrun-plugin + false clean-samples @@ -95,6 +86,7 @@ org.apache.maven.plugins maven-clean-plugin + false clean-samples @@ -112,16 +104,4 @@ full - - - gradle - http://repo.gradle.org/gradle/libs-releases-local - - true - - - false - - - diff --git a/spring-boot-integration-tests/spring-boot-gradle-tests/pom.xml b/spring-boot-integration-tests/spring-boot-gradle-tests/pom.xml new file mode 100644 index 00000000000..3982944c820 --- /dev/null +++ b/spring-boot-integration-tests/spring-boot-gradle-tests/pom.xml @@ -0,0 +1,46 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-integration-tests + 1.2.2.BUILD-SNAPSHOT + + spring-boot-gradle-tests + jar + Spring Boot Gradle Integration Tests + Spring Boot Gradle Integration Tests + http://projects.spring.io/spring-boot/ + + Pivotal Software, Inc. + http://www.spring.io + + + ${basedir}/../.. + + + + org.gradle + gradle-tooling-api + ${gradle.version} + test + + + org.springframework.boot + spring-boot-dependency-tools + test + + + + + gradle + http://repo.gradle.org/gradle/libs-releases-local + + true + + + false + + + + diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/ClassifierTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ClassifierTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/ClassifierTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ClassifierTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/CustomVersionManagementTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/CustomVersionManagementTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/CustomVersionManagementTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/CustomVersionManagementTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/FlatdirTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/FlatdirTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/FlatdirTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/FlatdirTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/InstallTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/InstallTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/InstallTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/InstallTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/MainClassTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/MainClassTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/MainClassTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/MainClassTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/MultiProjectRepackagingTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/MultiProjectRepackagingTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/MultiProjectRepackagingTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/MultiProjectRepackagingTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/NoJarTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/NoJarTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/NoJarTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/NoJarTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/SpringLoadedTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/SpringLoadedTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/SpringLoadedTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/SpringLoadedTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/WarPackagingTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/WarPackagingTests.java similarity index 100% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/WarPackagingTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/WarPackagingTests.java diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java similarity index 97% rename from spring-boot-integration-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java index b7cfa637d7f..26245cd2f2b 100644 --- a/spring-boot-integration-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java +++ b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java @@ -60,7 +60,7 @@ public class StarterDependenciesIntegrationTests { @Parameters public static List getStarters() { List starters = new ArrayList(); - for (File file : new File("../spring-boot-starters").listFiles()) { + for (File file : new File("../../spring-boot-starters").listFiles()) { if (file.isDirectory() && new File(file, "pom.xml").exists()) { String name = file.getName(); if (name.startsWith(STARTER_NAME_PREFIX) diff --git a/spring-boot-integration-tests/src/test/resources/classifier-extension.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier-extension.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/classifier-extension.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier-extension.gradle diff --git a/spring-boot-integration-tests/src/test/resources/classifier.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/classifier.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier.gradle diff --git a/spring-boot-integration-tests/src/test/resources/custom-version-management.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/custom-version-management.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/custom-version-management.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/custom-version-management.gradle diff --git a/spring-boot-integration-tests/src/test/resources/custom-versions.properties b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/custom-versions.properties similarity index 100% rename from spring-boot-integration-tests/src/test/resources/custom-versions.properties rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/custom-versions.properties diff --git a/spring-boot-integration-tests/src/test/resources/flatdir.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/flatdir.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/flatdir.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/flatdir.gradle diff --git a/spring-boot-integration-tests/src/test/resources/foo.jar b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/foo.jar similarity index 100% rename from spring-boot-integration-tests/src/test/resources/foo.jar rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/foo.jar diff --git a/spring-boot-integration-tests/src/test/resources/install-app.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/install-app.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/install-app.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/install-app.gradle diff --git a/spring-boot-integration-tests/src/test/resources/installer-io.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/installer-io.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/installer-io.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/installer-io.gradle diff --git a/spring-boot-integration-tests/src/test/resources/installer.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/installer.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/installer.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/installer.gradle diff --git a/spring-boot-integration-tests/src/test/resources/main-in-run.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/main-in-run.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/main-in-run.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/main-in-run.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/build.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/build.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/build.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/build.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/settings.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/settings.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-common-file-dependency/settings.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/settings.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-runtime-project-dependency/build.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/build.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-runtime-project-dependency/build.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/build.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-runtime-project-dependency/settings.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/settings.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-runtime-project-dependency/settings.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/settings.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/build.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/build.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/build.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/build.gradle diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar diff --git a/spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/settings.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/settings.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/multi-project-transitive-file-dependency/settings.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/settings.gradle diff --git a/spring-boot-integration-tests/src/test/resources/nojar.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/nojar.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/nojar.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/nojar.gradle diff --git a/spring-boot-integration-tests/src/test/resources/repackage.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/repackage.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/repackage.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/repackage.gradle diff --git a/spring-boot-integration-tests/src/test/resources/spring-loaded-jvm-args/build.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-jvm-args/build.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/spring-loaded-jvm-args/build.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-jvm-args/build.gradle diff --git a/spring-boot-integration-tests/src/test/resources/spring-loaded-jvm-args/src/main/java/test/Application.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-jvm-args/src/main/java/test/Application.java similarity index 100% rename from spring-boot-integration-tests/src/test/resources/spring-loaded-jvm-args/src/main/java/test/Application.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-jvm-args/src/main/java/test/Application.java diff --git a/spring-boot-integration-tests/src/test/resources/spring-loaded-old-gradle/build.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-old-gradle/build.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/spring-loaded-old-gradle/build.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-old-gradle/build.gradle diff --git a/spring-boot-integration-tests/src/test/resources/spring-loaded-old-gradle/src/main/java/test/Application.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-old-gradle/src/main/java/test/Application.java similarity index 100% rename from spring-boot-integration-tests/src/test/resources/spring-loaded-old-gradle/src/main/java/test/Application.java rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-old-gradle/src/main/java/test/Application.java diff --git a/spring-boot-integration-tests/src/test/resources/starter-dependencies.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/starter-dependencies.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/starter-dependencies.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/starter-dependencies.gradle diff --git a/spring-boot-integration-tests/src/test/resources/war-packaging.gradle b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/war-packaging.gradle similarity index 100% rename from spring-boot-integration-tests/src/test/resources/war-packaging.gradle rename to spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/war-packaging.gradle diff --git a/spring-boot-security-tests/pom.xml b/spring-boot-integration-tests/spring-boot-security-tests/pom.xml similarity index 86% rename from spring-boot-security-tests/pom.xml rename to spring-boot-integration-tests/spring-boot-security-tests/pom.xml index 0a966975a0a..1437d01e4e0 100644 --- a/spring-boot-security-tests/pom.xml +++ b/spring-boot-integration-tests/spring-boot-security-tests/pom.xml @@ -3,9 +3,8 @@ 4.0.0 org.springframework.boot - spring-boot-parent + spring-boot-integration-tests 1.2.2.BUILD-SNAPSHOT - ../spring-boot-parent spring-boot-security-tests pom @@ -16,6 +15,9 @@ Pivotal Software, Inc. http://www.spring.io + + ${basedir}/.. + spring-boot-security-tests-web-helloworld diff --git a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml similarity index 96% rename from spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml rename to spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml index eaee1d653e8..e94f23db4f9 100644 --- a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml +++ b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/pom.xml @@ -16,7 +16,7 @@ http://www.spring.io - ${basedir}/../.. + ${basedir}/../../.. diff --git a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java similarity index 99% rename from spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java rename to spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java index 7a2a784cad6..53143ce80b1 100644 --- a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java +++ b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java @@ -32,4 +32,5 @@ public class HelloWebSecurityApplication { public static void main(String[] args) { SpringApplication.run(HelloWebSecurityApplication.class, args); } -} \ No newline at end of file + +} diff --git a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java similarity index 99% rename from spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java rename to spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java index 36eebd24ed6..6a88a9dd09a 100644 --- a/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java +++ b/spring-boot-integration-tests/spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java @@ -72,4 +72,5 @@ public class HelloWebSecurityApplicationTests { assertThat(this.response.getStatus(), equalTo(HttpServletResponse.SC_OK)); } + } diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java index 49c7088340b..380df42f9a8 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.