Browse Source

Merge branch '2.1.x'

pull/17069/head
Phillip Webb 7 years ago
parent
commit
db75347eb6
  1. 2
      ci/images/get-jdk-url.sh
  2. 2
      ci/scripts/detect-jdk-updates.sh
  3. 2
      ci/tasks/build-pr-project.yml
  4. 2
      idea/codeStyleConfig.xml
  5. 4
      pom.xml
  6. 1
      spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
  7. 2
      spring-boot-project/spring-boot-autoconfigure/src/test/resources/public-key-location
  8. 2
      spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring
  9. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/excluded
  10. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/fileA
  11. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/bravo/fileC
  12. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/bravo/nested/fileB
  13. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/fileD
  14. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/three
  15. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/bravo/fileE
  16. 1
      spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/fileF
  17. 2
      spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl
  18. 2
      spring-boot-project/spring-boot-dependencies/src/main/xslt/single-project.xsl
  19. 18
      spring-boot-project/spring-boot-starters/spring-boot-starter-rsocket/pom.xml
  20. 2
      spring-boot-project/spring-boot-starters/src/main/assembly/starter-poms-assembly.xml
  21. 2
      spring-boot-project/spring-boot-test/src/main/kotlin/org/springframework/boot/test/web/client/TestRestTemplateExtensions.kt
  22. 1
      spring-boot-project/spring-boot-test/src/test/resources/META-INF/resources/inmetainfresources
  23. 1
      spring-boot-project/spring-boot-test/src/test/resources/public/inpublic
  24. 1
      spring-boot-project/spring-boot-test/src/test/resources/resources/inresources
  25. 1
      spring-boot-project/spring-boot-test/src/test/resources/static/instatic
  26. 1
      spring-boot-project/spring-boot-test/src/test/webapp/inwebapp
  27. 2
      spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/jar-with-kotlin-module/src/main/kotlin/org/test/SampleApplication.kt
  28. 2
      spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinConfigurationPropertiesBeanRegistrarTests.kt
  29. 2
      spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt
  30. 2
      spring-boot-samples/spring-boot-sample-oauth2-resource-server/src/main/resources/application.yml
  31. 2
      spring-boot-samples/spring-boot-sample-reactive-oauth2-client/src/main/resources/application.yml
  32. 2
      spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/src/main/resources/application.yml
  33. 2
      spring-boot-samples/spring-boot-sample-traditional/src/main/webapp/index.html
  34. 2
      spring-boot-tests/spring-boot-deployment-tests/spring-boot-deployment-test-glassfish/src/main/webapp/WEB-INF/glassfish-web.xml
  35. 9
      src/checkstyle/checkstyle-suppressions.xml
  36. 3
      src/checkstyle/nohttp-whitelist.txt

2
ci/images/get-jdk-url.sh

@ -14,4 +14,4 @@ case "$1" in @@ -14,4 +14,4 @@ case "$1" in
*)
echo $"Unknown java version"
exit 1
esac
esac

2
ci/scripts/detect-jdk-updates.sh

@ -43,4 +43,4 @@ if [[ ${existing_jdk_issues} = "" ]]; then @@ -43,4 +43,4 @@ if [[ ${existing_jdk_issues} = "" ]]; then
POST "https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/issues" > /dev/null || { echo "Failed to create issue" >&2; exit 1; }
else
echo "Issue already exists."
fi
fi

2
ci/tasks/build-pr-project.yml

@ -8,4 +8,4 @@ caches: @@ -8,4 +8,4 @@ caches:
- path: maven
- path: gradle
run:
path: git-repo/ci/scripts/build-project.sh
path: git-repo/ci/scripts/build-project.sh

2
idea/codeStyleConfig.xml

@ -125,4 +125,4 @@ @@ -125,4 +125,4 @@
<option name="USE_TAB_CHARACTER" value="true"/>
</indentOptions>
</codeStyleSettings>
</code_scheme>
</code_scheme>

4
pom.xml

@ -60,7 +60,9 @@ @@ -60,7 +60,9 @@
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
<resourceIncludes>**\/*.*</resourceIncludes>
<sourceDirectories>./</sourceDirectories>
<includes>**/*</includes>
<excludes>.git/**/*,target/**/*</excludes>
</configuration>
<goals>
<goal>check</goal>

1
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html

@ -1 +1,2 @@ @@ -1 +1,2 @@

2
spring-boot-project/spring-boot-autoconfigure/src/test/resources/public-key-location

@ -3,4 +3,4 @@ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdlatRjRjogo3WojgGHFHYLugd @@ -3,4 +3,4 @@ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdlatRjRjogo3WojgGHFHYLugd
UWAY9iR3fy4arWNA1KoS8kVw33cJibXr8bvwUAUparCwlvdbH6dvEOfou0/gCFQs
HUfQrSDv+MuSUMAe8jzKE4qW+jK+xQU9a03GUnKHkkle+Q0pX/g6jXZ7r1/xAK5D
o2kQ+X5xK9cipRgEKwIDAQAB
-----END PUBLIC KEY-----
-----END PUBLIC KEY-----

2
spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

@ -113,4 +113,4 @@ if $cygwin; then @@ -113,4 +113,4 @@ if $cygwin; then
fi
IFS=" " read -r -a javaOpts <<< "$JAVA_OPTS"
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/excluded

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/fileA

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/bravo/fileC

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/bravo/nested/fileB

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/one/fileD

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/three

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/bravo/fileE

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/fileF

@ -0,0 +1 @@ @@ -0,0 +1 @@

2
spring-boot-project/spring-boot-dependencies/src/main/xslt/post-process-flattened-pom.xsl

@ -28,4 +28,4 @@ @@ -28,4 +28,4 @@
<xsl:template match="/m:project/m:properties/m:revision" />
<xsl:template match="/m:project/m:properties/m:main.basedir" />
<xsl:template match="/m:project/m:distributionManagement" />
</xsl:stylesheet>
</xsl:stylesheet>

2
spring-boot-project/spring-boot-dependencies/src/main/xslt/single-project.xsl

@ -3,4 +3,4 @@ @@ -3,4 +3,4 @@
<xsl:copy-of select="projects/*[1]" />
<xsl:copy-of select="*[local-name()='project']" />
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

18
spring-boot-project/spring-boot-starters/spring-boot-starter-rsocket/pom.xml

@ -1,22 +1,6 @@ @@ -1,22 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2012-2019 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.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>

2
spring-boot-project/spring-boot-starters/src/main/assembly/starter-poms-assembly.xml

@ -19,4 +19,4 @@ @@ -19,4 +19,4 @@
</sources>
</moduleSet>
</moduleSets>
</assembly>
</assembly>

2
spring-boot-project/spring-boot-test/src/main/kotlin/org/springframework/boot/test/web/client/TestRestTemplateExtensions.kt

@ -274,4 +274,4 @@ inline fun <reified T : Any> TestRestTemplate.exchange(url: URI, method: HttpMet @@ -274,4 +274,4 @@ inline fun <reified T : Any> TestRestTemplate.exchange(url: URI, method: HttpMet
*/
@Throws(RestClientException::class)
inline fun <reified T : Any> TestRestTemplate.exchange(requestEntity: RequestEntity<*>): ResponseEntity<T> =
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})

1
spring-boot-project/spring-boot-test/src/test/resources/META-INF/resources/inmetainfresources

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-test/src/test/resources/public/inpublic

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-test/src/test/resources/resources/inresources

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-test/src/test/resources/static/instatic

@ -0,0 +1 @@ @@ -0,0 +1 @@

1
spring-boot-project/spring-boot-test/src/test/webapp/inwebapp

@ -0,0 +1 @@ @@ -0,0 +1 @@

2
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/jar-with-kotlin-module/src/main/kotlin/org/test/SampleApplication.kt

@ -19,4 +19,4 @@ package org.test; @@ -19,4 +19,4 @@ package org.test;
fun main(args: Array<String>) {
}
}

2
spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinConfigurationPropertiesBeanRegistrarTests.kt

@ -72,4 +72,4 @@ class KotlinConfigurationPropertiesBeanRegistrarTests { @@ -72,4 +72,4 @@ class KotlinConfigurationPropertiesBeanRegistrarTests {
}
}
}

2
spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt

@ -205,4 +205,4 @@ class KotlinConstructorParametersBinderTests { @@ -205,4 +205,4 @@ class KotlinConstructorParametersBinderTests {
val stringValue: String = "my data",
val enumValue: ExampleEnum = ExampleEnum.BAR_BAZ)
}
}

2
spring-boot-samples/spring-boot-sample-oauth2-resource-server/src/main/resources/application.yml

@ -4,4 +4,4 @@ spring: @@ -4,4 +4,4 @@ spring:
resource:
jwt:
# To run the application, replace this with a valid JWK Set URI
jwk-set-uri: https://example.com/oauth2/default/v1/keys
jwk-set-uri: https://example.com/oauth2/default/v1/keys

2
spring-boot-samples/spring-boot-sample-reactive-oauth2-client/src/main/resources/application.yml

@ -22,4 +22,4 @@ spring: @@ -22,4 +22,4 @@ spring:
client-secret: ${YAHOO-CLIENT-SECRET}
provider:
yahoo-oidc:
issuer-uri: https://api.login.yahoo.com
issuer-uri: https://api.login.yahoo.com

2
spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/src/main/resources/application.yml

@ -4,4 +4,4 @@ spring: @@ -4,4 +4,4 @@ spring:
resourceserver:
jwt:
# To run the application, replace this with a valid JWK Set URI
jwk-set-uri: https://example.com/oauth2/default/v1/keys
jwk-set-uri: https://example.com/oauth2/default/v1/keys

2
spring-boot-samples/spring-boot-sample-traditional/src/main/webapp/index.html

@ -3,4 +3,4 @@ @@ -3,4 +3,4 @@
<h1>Hello</h1>
Hello World!
</body>
</html>
</html>

2
spring-boot-tests/spring-boot-deployment-tests/spring-boot-deployment-test-glassfish/src/main/webapp/WEB-INF/glassfish-web.xml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<glassfish-web-app error-url="">
<class-loader delegate="false"/>
</glassfish-web-app>
</glassfish-web-app>

9
src/checkstyle/checkstyle-suppressions.xml

@ -3,8 +3,13 @@ @@ -3,8 +3,13 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files="[\\/]target[\\/]" checks=".*" />
<suppress files=".+\.[jar|git|ico|p12]" checks=".*" />
<suppress files="\.DS_Store" checks=".*" />
<suppress files="[\\/]\.flattened-pom\.xml" checks=".*" />
<suppress files="[\\/]transaction-logs[\\/]" checks=".*" />
<suppress files="[\\/]target[\\/]" checks=".*" />
<suppress files="[\\/]build.log" checks=".*" />
<suppress files=".+\.[jar|git|ico|p12|svg|png]" checks=".*" />
<suppress files="eclipse[\\/]spring-boot-project.setup" checks="NoHttp"/>
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
<suppress files=".+Application\.java" checks="HideUtilityClassConstructor" />

3
src/checkstyle/nohttp-whitelist.txt

@ -1 +1,2 @@ @@ -1 +1,2 @@
^http://livereload.com/protocols/official-7$
^http://livereload.com/protocols/official-7.*
^http://exslt.org/common.*

Loading…
Cancel
Save