diff --git a/.ci/files/project-list.xml b/.ci/files/project-list.xml
index a05850c4ad..d50d3f2c2b 100644
--- a/.ci/files/project-list.xml
+++ b/.ci/files/project-list.xml
@@ -34,7 +34,7 @@ mvn dependency:build-classpath -DincludeScope=test -Dmdep.outputFile=classpath.t
spring-framework
git
https://github.com/spring-projects/spring-framework
- v5.0.6.RELEASE
+ v5.3.13
.*/build/generated-sources/.*
@@ -45,55 +45,95 @@ fi
set -e
-# Note: openjdk8 will be installed by "before_install.sh"
-export JAVA_HOME=${HOME}/openjdk8
+# Make sure to use java11. This is already installed by build.sh
+export JAVA_HOME=${HOME}/openjdk11
export PATH=$JAVA_HOME/bin:$PATH
+## Patches
# keep the tabs!!
+# Patch 1: See https://github.com/spring-projects/spring-framework/commit/381b7d035a16d430b8783b7390c1677c9e7d1f68
+# and https://github.com/spring-projects/spring-framework/commit/9e1ed6c7718d38c4b9fe5f75921abad33264307c
(cat < ann) {
+- return determineRequiredStatus(
++ // Cast to (AnnotationAttributes) is required. Otherwise, the :spring-beans:compileGroovy
++ // task fails in the Gradle build.
++ return determineRequiredStatus((AnnotationAttributes)
+ ann.asMap(mergedAnnotation -> new AnnotationAttributes(mergedAnnotation.getType())));
}
- repositories {
-+ mavenCentral()
- maven { url "https://repo.spring.io/libs-release" }
- }
+EOF
+) | patch --strip=1
+
+# Patch 2: Ignore compiler warnings
+(cat < {
+ COMPILER_ARGS.addAll(commonCompilerArgs);
+ COMPILER_ARGS.addAll(Arrays.asList(
+ "-Xlint:varargs", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
+- "-Xlint:unchecked", "-Werror"
++ "-Xlint:unchecked"//, "-Werror"
+ ));
+ TEST_COMPILER_ARGS = new ArrayList<>();
+ TEST_COMPILER_ARGS.addAll(commonCompilerArgs);
+diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle
+index e3f6f73b76..48c4d9e3fb 100644
+--- a/spring-beans/spring-beans.gradle
++++ b/spring-beans/spring-beans.gradle
+@@ -23,7 +23,7 @@ sourceSets {
+ }
-@@ -314,3 +316,20 @@
+ compileGroovy {
+- options.compilerArgs += "-Werror"
++// options.compilerArgs += "-Werror"
+ }
+
+ // This module also builds Kotlin code and the compileKotlin task naturally depends on
+EOF
+) | patch --strip=1
+
+# Patch 3: Add task createSquishClasspath
+(cat < classpath.txt
+./gradlew --console=plain --build-cache --no-daemon --max-workers=4 build testClasses -x test -x javadoc -x api -x asciidoctor -x asciidoctorPdf
+./gradlew --console=plain --build-cache --no-daemon --max-workers=4 createSquishClasspath -q > classpath.txt
]]>
cat classpath.txt
diff --git a/.ci/inc/regression-tester.inc b/.ci/inc/regression-tester.inc
index 8844510077..3fe7fa0e89 100644
--- a/.ci/inc/regression-tester.inc
+++ b/.ci/inc/regression-tester.inc
@@ -13,9 +13,6 @@ source "$(dirname "$0")/inc/fetch_ci_scripts.bash" && fetch_ci_scripts
# PMD_CI_CHUNK_TOKEN
function regression_tester_setup_ci() {
- pmd_ci_log_info "Install openjdk8 for pmd-regression-tests"
- pmd_ci_openjdk_install_adoptopenjdk 8
-
gpg --batch --yes --decrypt --passphrase="GnxdjywUEPveyCD1RLiTd7t8CImnefYr" \
--output .ci/files/public-env .ci/files/public-env.gpg
# shellcheck disable=SC1091