Skip to content

Commit 0ef3310

Browse files
committed
Merge branch '2.0.x' into 2.1.x
2 parents 930d110 + 7fc0197 commit 0ef3310

File tree

31 files changed

+38
-17
lines changed

31 files changed

+38
-17
lines changed

ci/images/get-jdk-url.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ case "$1" in
1414
*)
1515
echo $"Unknown java version"
1616
exit 1
17-
esac
17+
esac

ci/scripts/detect-jdk-updates.sh

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

ci/tasks/build-pr-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ caches:
88
- path: maven
99
- path: gradle
1010
run:
11-
path: git-repo/ci/scripts/build-project.sh
11+
path: git-repo/ci/scripts/build-project.sh

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
6161
<includeTestSourceDirectory>true</includeTestSourceDirectory>
6262
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
63-
<resourceIncludes>**\/*.*</resourceIncludes>
63+
<sourceDirectories>./</sourceDirectories>
64+
<includes>**/*</includes>
65+
<excludes>.git/**/*,target/**/*</excludes>
6466
</configuration>
6567
<goals>
6668
<goal>check</goal>
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11

2+

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ if $cygwin; then
113113
fi
114114

115115
IFS=" " read -r -a javaOpts <<< "$JAVA_OPTS"
116-
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
116+
"${JAVA_HOME}/bin/java" "${javaOpts[@]}" -cp "$CLASSPATH" org.springframework.boot.loader.JarLauncher "$@"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
<xsl:template match="/m:project/m:properties/m:revision" />
2929
<xsl:template match="/m:project/m:properties/m:main.basedir" />
3030
<xsl:template match="/m:project/m:distributionManagement" />
31-
</xsl:stylesheet>
31+
</xsl:stylesheet>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<xsl:copy-of select="projects/*[1]" />
44
<xsl:copy-of select="*[local-name()='project']" />
55
</xsl:template>
6-
</xsl:stylesheet>
6+
</xsl:stylesheet>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
</sources>
2020
</moduleSet>
2121
</moduleSets>
22-
</assembly>
22+
</assembly>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,4 @@ inline fun <reified T : Any> TestRestTemplate.exchange(url: URI, method: HttpMet
274274
*/
275275
@Throws(RestClientException::class)
276276
inline fun <reified T : Any> TestRestTemplate.exchange(requestEntity: RequestEntity<*>): ResponseEntity<T> =
277-
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})
277+
exchange(requestEntity, object : ParameterizedTypeReference<T>() {})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ package org.test;
1919

2020
fun main(args: Array<String>) {
2121

22-
}
22+
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ spring:
44
resource:
55
jwt:
66
# To run the application, replace this with a valid JWK Set URI
7-
jwk-set-uri: https://example.com/oauth2/default/v1/keys
7+
jwk-set-uri: https://example.com/oauth2/default/v1/keys

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ spring:
2222
client-secret: ${YAHOO-CLIENT-SECRET}
2323
provider:
2424
yahoo-oidc:
25-
issuer-uri: https://api.login.yahoo.com
25+
issuer-uri: https://api.login.yahoo.com

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ spring:
44
resourceserver:
55
jwt:
66
# To run the application, replace this with a valid JWK Set URI
7-
jwk-set-uri: https://example.com/oauth2/default/v1/keys
7+
jwk-set-uri: https://example.com/oauth2/default/v1/keys

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<h1>Hello</h1>
44
Hello World!
55
</body>
6-
</html>
6+
</html>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<glassfish-web-app error-url="">
33
<class-loader delegate="false"/>
4-
</glassfish-web-app>
4+
</glassfish-web-app>

src/checkstyle/checkstyle-suppressions.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
44
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
55
<suppressions>
6-
<suppress files="[\\/]target[\\/]" checks=".*" />
6+
<suppress files="[\\/]\.flattened-pom\.xml" checks=".*" />
7+
<suppress files="[\\/]transaction-logs[\\/]" checks=".*" />
8+
<suppress files="[\\/]target[\\/]" checks=".*" />
9+
<suppress files="[\\/]build.log" checks=".*" />
710
<suppress files=".+\.[jar|git|ico|p12]" checks=".*" />
11+
<suppress files="eclipse[\\/]spring-boot-project.setup" checks="NoHttp"/>
812
<suppress files="SpringApplicationTests\.java" checks="FinalClass" />
913
<suppress files=".+Configuration\.java" checks="HideUtilityClassConstructor" />
1014
<suppress files=".+Application\.java" checks="HideUtilityClassConstructor" />

src/checkstyle/nohttp-whitelist.txt

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

0 commit comments

Comments
 (0)