We're using Sonatype's Nexus 1.9.2.2 for proxying maven repositories. Our problem is that the indexes are eating so much disk space. All our repositories are taking about 25GB space, and growing.
For example, this directory has ~4GB of index files like this:
sonatype-work/nexus/storage/mvnsearch/.index/nexus-maven-repository-index.825.gz
sonatype-work/nexus/storage/mvnsearch/.index/nexus-maven-repository-index.826.gz
sonatype-work/nexus/storage/mvnsearch/.index/nexus-maven-repository-index.827.gz
sonatype-work/nexus/storage/mvnsearch/.index/nexus-maven-repository-index.828.gz
...
Is there any clean way of purging those files? For example using a scheduled task?
Thanks in advance!