INT-3212 Backport Fixed CI Build Test

https://github.com/spring-projects/spring-integration/commit/405fce672b79a3f6bb8d402c17420188b8b27e2f#diff-cce1a7c963da2228ded1dd0bbea85846

https://build.springsource.org/browse/INT-SI22SPRING30-541/