This is done for uploaded artifacts. The artifact and uploaded (or generated) pom file are indexed immediately-- please review. (r657491)
How expensive is this call? Can we afford to do it on every artifact deployment, when there may be multiple developers and/or CI servers deploying releases and snapshots? If that is a potential issue we may want to make this configurable.