SNAPSHOT artifacts being deleted prematurely
Problem
Your project depends on a SNAPSHOT version of a dependency and the dependency keeps getting deleted from the SNAPSHOTS repository.
Solution
If a SNAPSHOT keeps getting cleaned up / deleted from the SNAPSHOTS repository then the artifact has a release version in the Releases repository for that project. The correct solution to this is to change your dependency to use the release version of the artifact and not depend on the SNAPSHOT version. There is no option for keeping SNAPSHOTS longer than a day or two after release as the cleanup is an automated process. Re-uploading of the SNAPSHOT will cause it to get cleaned up on the next daily clean-up cycle.
Related articles