In the command line help, I see that maven \"checks\" for updates:
-U,--update-snapshots Forces a check for updated
when you will get https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced
in that case you have to use mvn clean package -U
mvn clean package -U