Mahmoud Ben Hassine opened BATCH-2698 and commented
The only usage of apache commons io library in spring-batch-test module is in DataSourceInitializer:
scripts = StringUtils.delimitedListToStringArray(stripComments(IOUtils.readLines(scriptResource
.getInputStream(), "UTF-8")), ";");
Now that v4 is based on Java 8, IOUtils.readLines can be replaced with Files.lines and the dependency to commons io can be removed.
Affects: 4.0.1
Referenced from: pull request #587, and commits 305b4b8, f552607
Backported to: 4.1.0.M3, 4.0.2